[K12OSN] Linux Directory Permissions -- Help me clean up my mess

John Baillie jbaillie at stmarys-school.org
Thu Jul 21 20:35:08 UTC 2005


use the -R switch

ie: chown -R


On Thu, 2005-07-21 at 16:28, Mark Cockrell wrote:
> >
> >
> >Just the directories? Try this (as root)
> >
> >cd /home
> >for i in *
> >do
> >chown $i $i
> >done
> >
> >-- 
> >    Mike Wescott
> >    wescott sc rr com
> >
> 
> Now that you mention it, no.  I appears that I not only hosed the 
> directories but the subdirectories and files within them as well.  When 
> I screw up I do it big.
-- 
John




More information about the K12OSN mailing list