Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 98 11:04 +0100
From:      Justin Murdock <justin@vide.coventry.ac.uk>
To:        Roman Katsnelson <romank@graphnet.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Group ownership
Message-ID:  <199808251005.LAA18859@mascarpone.coventry.ac.uk>
In-Reply-To: Roman Katsnelson's mail of Mon, 24 Aug 98 10:51 %2B0400

next in thread | raw e-mail | index | archive | help
> Hi,
> 
> 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. 
> 
> Any suggestions?

chown user.group file
chgrp group file


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?199808251005.LAA18859>