From owner-freebsd-questions Mon Aug 24 07:45:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04611 for freebsd-questions-outgoing; Mon, 24 Aug 1998 07:45:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from netra.graphnet.com (netra.graphnet.com [192.206.112.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA04606 for ; Mon, 24 Aug 1998 07:45:17 -0700 (PDT) (envelope-from romank@graphnet.com) Received: from graphnet.com (roman.graphnet.com [192.206.112.93]) by netra.graphnet.com (8.8.8/8.8.6) with ESMTP id KAA18516 for ; Mon, 24 Aug 1998 10:44:30 -0400 (EDT) Message-ID: <35E17DD5.2D348722@graphnet.com> Date: Mon, 24 Aug 1998 10:51:01 -0400 From: Roman Katsnelson Organization: Graphnet, Inc X-Mailer: Mozilla 4.05 [en] (WinNT; U) MIME-Version: 1.0 To: "q's" Subject: Group ownership Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- Roman Katsnelson <-- Unix/NT Sys.Admin. Graphnet, Inc. <-- HQ at Teaneck http://www.wait.org <-- and in the mean time... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message