Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 1998 17:15:04 +0200
From:      Neil Blakey-Milner <nbm@rucus.ru.ac.za>
To:        Roman Katsnelson <romank@graphnet.com>, "q's" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Group ownership
Message-ID:  <19980824171504.A2321@rucus.ru.ac.za>
In-Reply-To: <35E17DD5.2D348722@graphnet.com>; from Roman Katsnelson on Mon, Aug 24, 1998 at 10:51:01AM -0400
References:  <35E17DD5.2D348722@graphnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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