Closed Thread Icon

Topic awaiting preservation: linux permissions (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=32009" title="Pages that link to Topic awaiting preservation: linux permissions (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: linux permissions <span class="small">(Page 1 of 1)</span>\

 
Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 10-06-2010 07:44

I need to setup the correct permissions to allow a php script to create files and write to them in a separate directory on the server for logging. Can someone recommend the best way to do this?

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 10-06-2010 10:07

Depends on the webserver setup,
but given a webserver www-data and the folder beloning to 'boudga', which are in the same group,
0770 should do it.

Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 10-07-2010 00:25

the script writes the file with ownership of nobody:nobody and I chmod'd the files with 0755 and everything works now

« BackwardsOnwards »

Show Forum Drop Down Menu