Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jofel
· 13y ago · 0 comments
Instead of
find . -type d -exec chmod g+x {} \;'
you can usually use
chmod -R g+X .
which gives additionally the group execute permission to files which have already user/everyone execute permission.
Comments
[–]
jff
13y ago
His example changes permissions for directories only, which I believe your example does not.
[–]
tedchs
13y ago
Yes, but the find command will only affect directories (-type d).