file-permissions

Is it possible to change the permission on files in an Android app's internal storage?

I downloaded a file with an app and stored it inside of its internal storage, but the file is set with -rw------- and I want to change those permissions so is it possible? I know that using external storage is an option but I want to know if I can do it with internal storage too. Thanks for the help. Edit: If it turns out that I can't c...

Kohana Error: `The log directory is not writable`

I have a project I checked out in Kohana and I'm trying to get it running on a local server and I'm getting the issue here: http://djaffry.selfip.com:8081/ The permissions for the logs folder is the same as for everything else, drwxr-xr-x 3 tipu tipu 4096 2010-06-24 12:37 cache drwxr-xr-x 3 tipu tipu 4096 2010-06-24 15:21 config drwx...

OSError on uploading files in Django

While trying to send form with image field in it I'm getting : Exception Type: OSError at /user/register/ Exception Value: (13, 'Permission denied') Of course first thing I've checked were the permissions to my folders, and just in case set them to 777 on the whole path from '/'. Still nothing. So I've tried adding parameters to setting...

Check if user has write permission in "Program Files"

I need to check whether the current user has write permissions inside the Program Files folder. The main problem occurs in Vista/7 - If I just try to create a temp file in this location I get an exception, even if the user can perform such an operation using the Windows Explorer (After allowing UAC elevation). Sounds reasonable, as the p...

When I upload my CodeIgniter System to my Amazon EC2, why are all of my permissions messed up?

For some weird reason, my "system" folder has permissions of "000" when I upload it. This totally breaks CodeIgniter as I get all sorts of errors: Message: CI_Config::include(/[mysite]/system/application/config/assetlibpro.php) [ci-config.include]: failed to open stream: Permission denied ...

Bypass Windows permission restrictions on program files folder

I have made a small application in C. It does some file manipulation, basically searches and changes some files names. But if it is used in Win Vista/7 in the program files folder the program says permission denied. Is there anyway to bypass this? Also, can Java bypass this? ...

Retaining file permissions with Git

I want to version control my web server as described here, by creating a git repo out of my /var/www directory. My hope was that I would then be able to push web content from our dev server to github, pull it to our production server, and spend the rest of the day at the pool. Apparently a kink in my plan is that Git won't respect fi...

vlad the deployer - deploying with different users?

We're using vlad the deployer for deploying rails apps to production and test servers. All our servers are Ubuntu servers. We have a problem related with linux permissions. Vlad uses ssh to put files on any server, be it production or test. My company has several people, and each one has a different account on each server. On the othe...

An error occurred loading a configuration file: Failed to start monitoring changes to '\\share'

I had this same problem last week, which resolved itself after I enabled impersonation. Now, I've moved this box to a different location and am now receiving it again. However, this time it is much less descriptive. The only error I'm receiving is: An error occurred loading a configuration file: Failed to start monitoring changes to '\\...

File Permissions On The iPhone Simulator

Are the permissions for the iphone/ipad simulator different from the device itself? I only ask because I'm experimenting with file I/O, and creating and then writing to my own temporary file fails, but creating and writing to, say, the Desktop on my Mac (from the iPad simulator) is completely okay. Am I doing something wrong with my tem...

Setting Permissions on a directory within IIS website root automatically

My company has a C# asp.net application deployed with IIS 7.0. The location the app is deployed in is C:\inetpub\wwwroot\my.domain.www\ Under that we have a storage folder which is where we hold temporary files. This folder needs to be writable with each deployment. We reference this folder from within our Web.conf file, and thus the e...

OS X permission denied for /usr/local/lib

I'm looking for any advice/intuition/clues/answers on a permission issue that has been plaguing me ever since I switched over to a new Macbook pro. Here's the dilemma. Certain programs copy libraries under /usr/local/lib during install and upon running these programs I get a crash which I believe is related to permission restrictions to ...

Checking file/folder access permission

I get an UnautorizedAccessException running this code: string[] fileList = Directory.GetFiles(strDir, strExt); The exception occurs in c:\users\username\appdata How can I check if I have access permission (to list and read files) ? ...

how to access php.ini file of server?

My application was working fine, I dont know what happened suddenly image upload function stoped functioning.It gives this error- URL file-access is disabled in the server configuration in D:\Hosting\6448289\html\upload.php on line 112 for any file access allow_url_fopen must be ON but this is OFF now. if you open this link - www.shi...

Uploading / File Permissions

I am having an issue with three older Drupal 6 sites that I can't seem to fix. Whenever an admin uploads or edits a file, they get file permissions error. I tried setting the files folder to 777 -Rf. The problem seems to stem from the fact that files are getting created as apache instead of the virtualhost user (we use VirtualMin). Af...

File permissions

HI all I have a question regarding file permissions. I have created a log file lets say "logfile.log" which traps certain errors, now in order for it to be writable i set its permissions to 777. But when i do this, it then is accessible to anyone to read via their browser. how would i go about solving this issue? thanks ...

php ‘apache_note’ function whilst SUPHP is active

I am using maxminds geoip apache mod extention. It requires the php function 'apache_note'. However while suphp is active I am unable to access the function. Ideally I would like to use suphp as I understand it offers security benefits. Is it possible to use apache_note while also using suphp? ...

Duplicate GetAccessRules, FileSystemAccessRule entries

Hi, I'm getting a duplicate FileSystemAccessRule from this code below: C:\inetpub\wwwroot\AspInfo\Account BUILTIN\IIS_IUSRS : Allow : ReadAndExecute, Synchronize BUILTIN\IIS_IUSRS : Allow : -1610612736 NT SERVICE\TrustedInstaller : Allow : FullControl NT SERVICE\TrustedInstaller : Allow : 268435456 and I can't work out what or why it ...

Permissions with Zend Server CE, daemon:daemon does not have enough permissions on OSX

Strangely enough the server can't resize images any more because it doesn't have enough write permissions. When I check the permissions of the directory I want to write my resized images to I see: username staff After excecuting echo exec('whoami'); and checking the httpd.conf I saw the user and group for the server was daemon:daemon ...

(Accès refusé) Access Denied exception

I m accessing file from java application, but i m getting following exception c:\Program Files\sample\sample\cample.xml (Acc?s refus?) at java.io.FileOutputStream.(Unknown Source) at java.io.FileOutputStream. at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) ...