Jump to content

file write permissions


raman

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.