how to protect folders
By default, on Mandrake 9,
if, lets say, im logged in as user "John" i can browse thru /var without any problem but i cant go in /home/Max. If the user John tries to go in that folder, the shell will return a permission denied message How can i lock /var/www from normal users too (all except 2 (me and root)), just like /home/Max is locked from other users Thanx do i have to do it for each services ? |
The key are the permissions and ownerships.
If you do ls -l /var/www what output do you get? The owning group is of particular interest for you here. You'll have to make sure that you are a member of it, but other "normal" users aren't. you can then do chmod -R o-rwx /var/www Cheers, Tink |
thx man
it worked perfectly |
Quote:
Cheers, Tink |
All times are GMT -5. The time now is 09:35 AM. |