Hacker Newsnew | past | comments | ask | show | jobs | submit | jofel's commentslogin

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.


His example changes permissions for directories only, which I believe your example does not.


Yes, but the find command will only affect directories (-type d).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: