1
vote
0answers
37 views

I want the “apache” user to own a dir but other users are adding via WinSCP

This is a fairly simple problem to explain but it is really annoying me and I could do with some advice. How to I ensure that apache is user : group owner of a dir no matter who uploads to it.. the ...
0
votes
0answers
63 views

How to display assets on localhost

I'm trying to run a site on a MAMP stack, but when I load a page the assets aren't showing up. I inspected the Net tab in Firebug, and my stylesheet tags are pointing to the right CSS files, but the ...
1
vote
1answer
264 views

OS X Mountain Lion web server permisssions

I've set up a web server on OS X Mountain Lion (not the server version) what is working perfectly. The problem I am having is that if I edit a PHP file in the server document directory from another ...
2
votes
1answer
371 views

Set permissions to www user to run ImageMagick

I have installed ImageMagick on my OSX Lion. When running from the console everything works fine. But when I'm trying to run 'convert -version' from a php script : <? exec('convert -version', ...
2
votes
1answer
444 views

Ubuntu - file permissions getting changed automatically

I want to be able to update a certain svn working copy remotely through php. For that, I have given www-data user write permission to the .svn folder (It is owned by someuser:www-data, and I have set ...
0
votes
1answer
126 views

Fix group in files/folders on Mac OS X to view in Apache?

I copied a directory from a Windows server into the defined document root of my MacBook's installation of Apache. However, the file permissions are wrong. I've tried setting both the user and group to ...
0
votes
1answer
362 views

permissions for apache user

I have apache set to the _www user account. Every time I create a file in the site directory, It's getting created with owner/group of myusername / wheel, so apache doesn't have access to it and I ...
1
vote
1answer
1k views

php fopen permission problem

I'm learning php, and am having a problem while writing a file upload page. In the docroot, I have index.php (the page that calls fopen) and a directory called "images", where I wish the temporary ...
0
votes
1answer
678 views

Troubleshooting GnuPG “get_key failed” error caused by incorrect filesystem permissions

Situation: we plan on using PHP's GnuPG extension to encrypt/decrypt files. Currently we've setup some test cases, using keys generated with GPG. The generated files reside in: ...