Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 1996 16:57:08 -0600
From:      Sean Kelly <kelly@fsl.noaa.gov>
To:        cyborg1@mail.pernet.net
Cc:        questions@freebsd.org
Subject:   Re: chmod
Message-ID:  <9604232257.AA10856@fslg8.fsl.noaa.gov>
In-Reply-To: <317D26B8.1B8E@mail.pernet.net> (message from Nitemaster on Tue, 23 Apr 1996 13:51:36 -0500)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Nitemaster" == Nitemaster  <cyborg1@mail.pernet.net> writes:

    Nitemaster> What numbers should I use for this - chmod o+w
    Nitemaster> filename? 

(I'm not sure if I understand the question, but here goes.)

There are NO numbers for o+w since that's a *relative* setting,
meaning add write permission for the others.  If it were `o=rw',
meaning set read+write only for the others no matter what's already
there, then you could use a 6 as the last digit.  And if you wanted
read+write for the group and for the owner, try

	chmod 666 <pathname>...

-- 
Sean Kelly                          
NOAA Forecast Systems Laboratory    kelly@fsl.noaa.gov
Boulder Colorado USA                http://www-sdd.fsl.noaa.gov/~kelly/



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