Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
|
jofel's comments
login
jofel
on March 7, 2013
|
parent
|
context
[–]
| on:
Unix tricks
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.
jff
on March 7, 2013
|
parent
|
next
[–]
His example changes permissions for directories only, which I believe your example does not.
tedchs
on March 8, 2013
|
parent
|
prev
[–]
Yes, but the find command will only affect directories (-type d).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: