Date: Mon, 24 Aug 1998 11:48:17 -0500 (CDT) From: Mark <markm@offline.dct.com> To: romank@graphnet.com (Roman Katsnelson) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Group ownership Message-ID: <199808241648.LAA22171@offline.dct.com> In-Reply-To: <35E17DD5.2D348722@graphnet.com> from "Roman Katsnelson" at Aug 24, 98 10:51:01 am
next in thread | previous 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? > > Thanks! > Roman 1) Did you mean you want the shell script executable by root only? That's easy: chmod 700 <file.sh> 2) man chgrp hope that helps -- Mark Maurer markm@dct.com mwmaurer@mtu.edu Programmer, Digital Magic Interactive http://www.dminteractive.com Senior, Michigan Technological University Houghton, MI -- Views do not represent those of my employer or school 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?199808241648.LAA22171>