Differences between revisions 2 and 3
Revision 2 as of 2008-04-24 23:41:21
Size: 260
Editor: CarlNobile
Comment:
Revision 3 as of 2008-04-24 23:50:43
Size: 281
Editor: CarlNobile
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
Note: The {{{a-x}}} can be any valid argument for the {{{chmod}}} command. Note: The argument {{{a-x}}} shown above 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 argument a-x shown above can be any valid argument for the chmod command.

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