Reply to comment
Folder permission tutorial(kinda)
by Anonymous (not verified) - 11/01/2007 - 5:36pm
You might not be running as root and root is most likely owner - which disallows you the right to change permissions. execute the following
cd /var
su
"enter password for root"
chown -R john www or /www
now maybe after successful
chmod -R 775 www or /www
A little info:
chown allows for changing the owner - you must be root to change the ownership if root is the owner :)
chmod 775 does this U+G+O User+Group+Others 7 = read write execute 5 = read and execute
change john to YOUR username (the one you log in as)
-R tells the commands to make the internal files of the directory "owned" by John as well.
read =1 write=2 execute=4 for a total of 7 for all permissions granted to UGO would be 777 (NOT recommended)
Hope this helps
Conrad
Recent comments
4 days 23 hours ago
2 weeks 1 day ago
2 weeks 5 days ago
2 weeks 5 days ago
2 weeks 5 days ago
4 weeks 2 days ago
7 weeks 3 days ago
10 weeks 18 hours ago
16 weeks 23 hours ago
16 weeks 1 day ago