On Sun, Jun 29, 2003 at 10:37:51PM -0400, Shawn Lamson wrote: > On Fri, June 27 at 12:08 PM EDT > Shri Shrikumar <[EMAIL PROTECTED]> wrote: > > I did something very stupid - > > > > cd /root > > chmod go-r .* -R > > > > thinking that it would change just the permissions on the files inside > > the root folder. Now all my permissions are screwed up. > > > > Is there an easy way to rebuild the permissions on the files in the > > system. > > Are you sure you messed up the whole filesystem that way? /root is > roots homedir and according to chmod manpage:
'.*' expands to '.' '..' etc., which includes '/root/..', which is '/'. Therefore chmod will have operated on the entire filesystem hierarchy. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]