[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] dumb question



On Mon, Sep 16, 2002 at 04:17:15PM +0100, Will Newton wrote:
> On Monday 16 Sep 2002 10:19 am, David Holden wrote:
> 
> > execute only if the file is a directory or already has execute
> > permission for some user (X).
> >
> > So I assume it sets the the file to execute only if the above conditions
> > are met.
> 
> But how is that useful?
> 
> Seems to be equivalent to g+x on a directory and u+x on a file?

but its conditional, eg

    chmod -R u+X .

sets the group 'x' bit only on those files (and directories) which make
sense for it to be set on.

Or to put it another way, you won't accidently turn a non-exectable
into an executable.

-- 
print+qq&$}$"$/$s$,$*${$}$g$s$@$.$q$,$:$.$q$^$,$@$*$~$;$.$q$m&if+map{m,^\d{0\,},,${$::{$'}}=chr($"+=$&||1)}q&10m22,42}6:17*2~2.3 [at] 3;^2$g3q/s"&=~m*\d\*.*g
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.