Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 1998 17:08:38 +0200
From:      Johan Karlsson <k@numeri.campus.luth.se>
To:        Roman Katsnelson <romank@graphnet.com>
Cc:        "q's" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Group ownership 
Message-ID:  <199808241508.RAA16141@numeri.campus.luth.se>
In-Reply-To: Your message of "Mon, 24 Aug 1998 10:51:01 EDT." <35E17DD5.2D348722@graphnet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
At Mon, 24 Aug 1998 10:51:01 EDT, Roman Katsnelson wrote:
>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?
>

either
chown user.group dir
or
chgrp group dir

/K

-- 
Johan Karlsson		mailto:k@numeri.campus.luth.se
SWEDEN



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?199808241508.RAA16141>