Dear all, or use a modified version of Clemens's commands for that:
find . -perm 700 -exec chmod 755 {} \; find . -perm 750 -exec chmod 755 {} \; find . -perm 600 -exec chmod 644 {} \; find . -perm 640 -exec chmod 644 {} \; Best regards, Dirk. Am 19.07.11 14:34, schrieb Clemens Vonrhein:
Dear all, ideally, permissions should be either rw-r--r-- (0644) or (for files that need to be executed as well as directories) rwxr-xr-x (0755) One quick fix: find . -type d -exec chmod -v 0755 {} ";" find . -type f -exec chmod -v 0755 {} ";" but that last command makes every single file executable, which is rather ugly (but doing a selective chmod 0755/0644 is a bit tricky with all those script files - some need to be executed but others arent). I don't see a need to have read-only files like all the CIF dictionaries with permission 0755. The correct permissions can only be set during packaging unfortunately. Cheers Clemens
-- ******************************************************* Dirk Kostrewa Gene Center Munich, A5.07 Department of Biochemistry Ludwig-Maximilians-Universität München Feodor-Lynen-Str. 25 D-81377 Munich Germany Phone: +49-89-2180-76845 Fax: +49-89-2180-76999 E-mail: kostr...@genzentrum.lmu.de WWW: www.genzentrum.lmu.de *******************************************************