1) To setup sgid on directories within current directory
find . -type d -exec chmod 4660 "{}" ";"
2) To give write permissions for oner and group on files within current directory
find . -type f -exec chmod 660 "{}" ";"
Wednesday, January 14, 2009
Subscribe to:
Posts (Atom)