Differences between revisions 1 and 2
Revision 1 as of 2008-04-23 14:57:23
Size: 173
Editor: CarlNobile
Comment:
Revision 2 as of 2008-04-24 23:41:21
Size: 260
Editor: CarlNobile
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
To change directory or file permissions recursively you can do this: To change directory or file permissions recursively you can do the following:
Line 8: Line 8:

Note: The {{{a-x}}} can be any valid argument for the {{{chmod}}} command.

To change directory or file permissions recursively you can do the following:

$ find path/ -type d -exec chmod a-x {} \;

Change the d to an f for files.

Note: The a-x can be any valid argument for the chmod command.

ChangeDirectoryOrFilePermissions (last edited 2008-04-24 23:50:43 by CarlNobile)