[ILUG] CHMOD
Cian Davis
cian.davis at skynet.ie
Mon Jan 12 22:27:08 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kae Verens wrote:
> unfortunately, it's not so flexible that you could do something like:
> chmod 666 * -R && chmod 777 */ -R
I assume most people know this but....
find ./ -type f -exec chmod 666 {} \;
chmod 777 */ -R
Would do it (combine the 2 with && if you want)...
Cian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklrw68ACgkQ2yUma7R/3b/3JgCZAQCwAXYZ9dTtoesUvrf0rp9F
l24An371WAM5c+mFQ9pKGamBfnURDpHM
=9VDp
-----END PGP SIGNATURE-----
More information about the ILUG
mailing list