From owner-freebsd-questions Mon Aug 24 08:19:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA09320 for freebsd-questions-outgoing; Mon, 24 Aug 1998 08:19:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA09178 for ; Mon, 24 Aug 1998 08:17:32 -0700 (PDT) (envelope-from nbm@rucus.ru.ac.za) Received: (qmail 2777 invoked by uid 1003); 24 Aug 1998 15:15:04 -0000 Message-ID: <19980824171504.A2321@rucus.ru.ac.za> Date: Mon, 24 Aug 1998 17:15:04 +0200 From: Neil Blakey-Milner To: Roman Katsnelson , "q's" Subject: Re: Group ownership References: <35E17DD5.2D348722@graphnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <35E17DD5.2D348722@graphnet.com>; from Roman Katsnelson on Mon, Aug 24, 1998 at 10:51:01AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon 1998-08-24 (10:51), Roman Katsnelson wrote: > I am writing a shell script to automate some procedures. I want this > shell to be executable by root only. > > One of the things it needs to do is create some directories. But I don't > want these directories to be owned by root/wheel. While I can do chown > whatever I want, I don't know how to change the fact that it's owned by > group wheel. Either use "chown user:group", or "chgrp group". man chgrp for help. Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message