On Mon, 16 Sep 2002 20:28:38 +0000 Matt Fairtlough <matt [at] fairtlough.net> wrote: > Yes, but only if it already has execute permission. And I find it > very useful. Suppose that you have an untarred directory (for > example) with owner root and permissions set to 600 or 700 (ie no-one > except root can access the files in it), and you want to make the > executables in it executable for everyone. How do you do it? > chmod -R a+x is not the right thing to do as it sets the execute file > on everything; so instead you do > chmod -R a+X and it only sets the execute bits for directories > (assuming root can execute them already) > and executables (ditto). Doh! I understand now, I just needed someone to explain the obvious. Ta v.much --Andrew -- sparc sun4c stuff: http://www.lostgeneration.freeserve.co.uk/sparc PGP key for list [at] lostgeneration.freeserve.co.uk: http://www.lostgeneration.freeserve.co.uk\ /list.lostgeneration.freeserve.co.uk.asc
Attachment:
pgp00005.pgp
Description: PGP signature