30
11
I want to chmod
a lot of files and directories. As x
indicates list for directories and execute for regular files I'd like to apply rw
for files and rwx
for directories. Is it possible using only the chmod
command?
If it isn't, what is the most convenient way?
Doing a chmod -R 770
isn't a possibility as I don't want the regular files to become executable.
1Do you really want public write permission on files and directories? That means you don't care who clobbers any of the files? – Jonathan Leffler – 2009-10-08T04:48:15.137
True. I changed it above. – Deleted – 2009-10-10T09:36:22.177