On Tue, 2002-03-12 at 19:11, Martin Morgan wrote:
> I just ran "chmod -R o-rwx" on /home/users as root. (don't ask about why I 
> didn't check it out or even think about it first!)
> 
> Got a good command to reset only the dir's?

Something like:
find /home/users -type d | xargs chmod o+rwx

should do the trick.  Although I've got a feeling somebody will feel
compelled to do better.

-- 
Peter
[EMAIL PROTECTED]

Let's just say that if complete and utter chaos was lightning, then he'd
be the sort to stand on a hilltop in a thunderstorm wearing wet copper
armour and shouting "All gods are bastards".
                -- Rincewind
                   (Terry Pratchett, The Colour of Magic)

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to