in reply to Re: chmod 775 on all files
in thread chmod 775 on all files

I am always learning, but unless I am mistaken, I think the second find should be...

find /my/dir -type f | xargs chmod 664

Update:Removed strikeout on '7' from previous code to make slightly clearer. (cosmetic)

Update:s/644/664/ - Quite right Skeeve. Typo.

Replies are listed 'Best First'.
Re: Re: Re: chmod 775 on all files
by Skeeve (Parson) on Aug 05, 2003 at 11:19 UTC
    if you meant the change from 7 to f, you're right
    if you meant 644 instead of 664, you're wrong ;-)