On Wed, 22 Oct 2003 15:50:12 -0700, Thomas Smith <[EMAIL PROTECTED]> wrote:
> I need to chmod a directory tree to change the permissions on the > directories but not the files they contain. > Is there a way to do this with chmod or another tool? $ chmod -X Always read the f* manual first! man chmod: #v+ The operator `+' causes the permissions selected to be added to the existing permissions of each file; `-' causes them to be removed; and `=' causes them to be the only permissions that the file has. The letters `rwx*X*stugo' select the new permissions for the affected users: (...) execute only if the file is a directory or already has execute permission for some user (*X*) (...) #v- -- ,--------, |`. .'| Konrad Kosmowski |.'`--'`.| [EMAIL PROTECTED] '--------' -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list