[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] raq3 /home/sites permissions?



cat /etc/passwd | cut -d':' -f 1 > userlist
vi userlist (remove all users with UIDs lower than 100)
for i in `cat userlist` ; do chown $i ~$i; done

This sets each home directory (~user) ownership to the user.

This works really well on Linux machines ... on a RaQ YMMV

I suggest a small test run. (small number of entries in userlist)

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Michael J. Fara
Sent: Thursday, December 06, 2001 2:57 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] raq3 /home/sites permissions?


Today someone working on our company's new website screwed up royally. They
chown'd the entire /home/sites directory as root. I am wondering if any of
you could take the time to post the permissions on the directory structure
of a virtual site so that we can reconstruct the permissions properly. We
have quite a few sites to do this with so any help is appreciated.

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users