Patsjoelie
Verified User
- Joined
- Mar 5, 2008
- Messages
- 17
Hi all ...
I did a check on the /home directory on my server.
I see that a lot of files and directories have 0777 permissions.
Since I'm running SuPHP i believe that for:
directories: 755
files: 644
would be ok, or not?
I would do the following commands:
for directories, and
for files.
Am i missing something here?
I don't see why anything should have 777 permissions.
Thanks in advance for any clarification on this!
Have a great day!
Pat.
I did a check on the /home directory on my server.
I see that a lot of files and directories have 0777 permissions.
Code:
find /home -perm 0777
Since I'm running SuPHP i believe that for:
directories: 755
files: 644
would be ok, or not?
I would do the following commands:
Code:
find /home -type d -exec chmod 755 {} \;
Code:
find /home -type f -exec chmod 755 {} \;
Am i missing something here?
I don't see why anything should have 777 permissions.
Thanks in advance for any clarification on this!
Have a great day!
Pat.