raman Posted June 23, 2009 Share Posted June 23, 2009 I have all PHP scripts on my solaris webserver. To give file write and upload permissions, I have done chown -R webservd followed by chmod 770 . However when I check permissions, it shows, drwxrwx--- 10 webservd root 3072 Jun 23 09:12 . for the current directory(/usr/local/apache2/htdocs/mydirectory) in which I have all my content which matches my expectation. However, for all other files and subdirectories within this directory have like -rwxr-x--- 1 webservd root 257 Jun 23 08:45 script.php Why is the write permission not there for the group ? I am asking this because on my local machine which is fedora linux I got for all the subdirectories and files like : -rwxrwx--- 1 nobody root 953298 2009-06-09 12:43 Can someone explain ? Link to comment https://forums.phpfreaks.com/topic/163324-file-write-permissions/ Share on other sites More sharing options...
priti Posted June 23, 2009 Share Posted June 23, 2009 webservd root resembles owner-group as you are root you should be able to set change the file permission. Link to comment https://forums.phpfreaks.com/topic/163324-file-write-permissions/#findComment-861789 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.