[thelist] linux: user / permission chaos

Johnny Lam jlam at popcast.com
Thu Apr 19 11:02:51 CDT 2001


Joxn,

Hmmm... When you set the ".." in the directory /home/userfoo/ its actually
going one level down to /home/ and that's why its effecting the /home/sites/
directory. Try doing the chmod at /home/userfoo/ directory by doing a chmod
uo-rwx /home/userfoo/. I hope that helps.

-Johnny

-----Original Message-----
From: Joxn [mailto:joxn at vernum.com]
Sent: Thursday, April 19, 2001 8:21 AM
To: EVOLT
Subject: [thelist] linux: user / permission chaos


Hi,
I've got some chaos concerning the user / permission on our RedHat
server.

I want to lock a user in his homedir eg. /home/userfoo/

Our websites are in /home/sites/site01.com/ and so on.

/home is owned by root and set to "drwxr-xr-x" - this way the sites work
fine.

However, if I set ".." in /home/userfoo/ to "drwx------" I actually
change the setting of /home and the sites break, too.

So how can I lock a user in his homedir without breaking the sites?

TIA,
Joxn
-- 
   || //\\ \\// |\\||  ::  joxn at vernum.com  ::
 \\|| \\// //\\ ||\\|  ::      8053703      ::

---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list