kae at verens.com
Mon Jan 12 12:19:25 GMT 2009
John Allen wrote:
> Richard Ryan wrote:
>> However, ' chmod 777 */ ' gives 777 perms to directories only...
> Yes, but not because of chmod, but due to shell expansion.
still a handy trick. works recursively as well:
chmod 777 */ -R
unfortunately, it's not so flexible that you could do something like:
chmod 666 * -R && chmod 777 */ -R
the above would fail to recurse because of removing the executable bit from the root directory permissions
More information about the ILUG