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

Re: Set group seting to multiple files



also sprach Travis Crump <pretzalz@techhouse.org> [2002.09.12.1728 +0200]:
> >one warning:
> >
> >  NEVER, i repeat *N*E*V*E*R* use the -R flag to chmod/chgrp/chown if
> >  the final argument is not a directory. for instance
> >
> >    chown -R pierre /music/mp3/*
> >
> >  will eventually change *your entire filesystem* to be owned by
> >  pierre!
> >
> 
> Can someone else confirm this because this doesn't make any sense to me 
> and I have never encountered it.  I just tried a couple of tests trying 
> to confirm this and was unable to reproduce it.

/music/mp3/* includes .. and since you are doing things the recursive
way...

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
 
"it usually takes more than three weeks
 to prepare a good impromptu speech.
                                                         -- mark twain

Attachment: pgpLuRQcqMu2o.pgp
Description: PGP signature


Reply to: