From owner-freebsd-questions Mon Dec 3 6:47: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from oxmail.ox.ac.uk (oxmail2.ox.ac.uk [163.1.2.1]) by hub.freebsd.org (Postfix) with ESMTP id 1FDD637B417 for ; Mon, 3 Dec 2001 06:46:58 -0800 (PST) Received: from dhcp-2.oriel.ox.ac.uk ([163.1.146.2] helo=sobek.lan) by oxmail.ox.ac.uk with esmtp (Exim 3.12 #1) id 16AuMy-0007ae-02; Mon, 03 Dec 2001 14:46:56 +0000 Received: (from greid@localhost) by sobek.lan (8.11.5/8.11.5) id fB3ElMN19509; Mon, 3 Dec 2001 14:47:22 GMT (envelope-from greid@FreeBSD.org) X-Authentication-Warning: sobek.lan: greid set sender to greid@FreeBSD.org using -f Date: Mon, 3 Dec 2001 14:47:22 +0000 From: George Reid To: Anthony Atkielski Cc: FreeBSD Questions Subject: Re: Modifying only certain bits with chmod Message-ID: <20011203144722.A19484@FreeBSD.org> References: <007a01c17c08$fd7f1030$0a00000a@atkielski.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <007a01c17c08$fd7f1030$0a00000a@atkielski.com>; from anthony@freebie.atkielski.com on Mon, Dec 03, 2001 at 03:44:18PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 03, 2001 at 03:44:18PM +0100, Anthony Atkielski wrote: > Am I missing something, or is there no way to set or reset only certain > permission bits--while leaving the others unchanged--using chmod with the octal > permissions field? If chmod doesn't allow this, is there any other similar > command that does? As chmod(1) says, modes are specified in symbolic or absolute (octal) form. -- George C A Reid Tel: (08701) 200870 Ext. 26654 FreeBSD Committer/Developer greid@FreeBSD.org Oriel College, Oxford University george.reid@oriel.ox.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message