Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 1996 22:20:43 +0100
From:      "Gary Palmer" <gpalmer@FreeBSD.ORG>
To:        Jim Dennis <jimd@mistery.mcafee.com>
Cc:        Nitemaster <cyborg1@mail.pernet.net>, questions@FreeBSD.ORG
Subject:   Re: chmod 
Message-ID:  <4140.830380843@palmer.demon.co.uk>
In-Reply-To: Your message of "Tue, 23 Apr 1996 17:25:59 PDT." <199604240025.RAA00909@mistery.mcafee.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Dennis wrote in message ID
<199604240025.RAA00909@mistery.mcafee.com>:
> > 
> > What numbers should I use for this - chmod o+w filename?

> 	o+w *adds* the write permission -- chmod with a 
> 	numeric *sets* the permission.  Thus (given):

> -r--r--r--   1 jimd     users        1024 Apr  9 14:29 foo

> 	The command 'chmod o+x foo' would result in:

> -rw-r--r--   1 jimd     users        1024 Apr  9 14:29 foo

That should be:

-rw-r--r-x   1 jimd     users        1024 Apr  9 14:29 foo

surely?

Gary
--
Gary Palmer                                            FreeBSD Core Team Member
FreeBSD - Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4140.830380843>