also sprach Colin Watson <[EMAIL PROTECTED]> [2002.09.12.1809 +0200]: > It doesn't make any sense to me either. You can see what chown is doing > by adding the -v flag, and: > > [cjwatson@riva ~/tmp]$ sudo chown -v -R www-data svn-dump.* > changed ownership of `svn-dump.142' to www-data > changed ownership of `svn-dump.149' to www-data > > There's other stuff under there, so I don't understand why -R on a file > could be bad.
-R on files isn't, but -R with wildcards is just because it's too easy to include .. in the wildcard. note that my original warning was intentionally left vague because i didn't want to flood the asker with complicated information. having now checked it (chmod -R u+r ~/* is a non-destructive way in 98% of the cases), it seems that things changed. the reason i warned was because i once fell victim to this, so i have engraved in my brain that -R and * should not be used. from what i can tell, i have been surfing happily, never using that combination, for the past 6 years or so. -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck first snow, then silence. this thousand dollar screen dies so beautifully.
msg02012/pgp00000.pgp
Description: PGP signature