From owner-freebsd-questions Sun Oct 26 23:44:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA23435 for questions-outgoing; Sun, 26 Oct 1997 23:44:08 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA23419 for ; Sun, 26 Oct 1997 23:44:04 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.5) with SMTP id XAA12477; Sun, 26 Oct 1997 23:42:44 -0800 (PST) Date: Sun, 26 Oct 1997 23:42:44 -0800 (PST) From: Doug White Reply-To: Doug White To: Andre Albsmeier cc: freebsd-questions@FreeBSD.ORG Subject: Re: Why is "chown -h -R" forbidden? In-Reply-To: <199710210633.IAA17716@curry.mchp.siemens.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 21 Oct 1997, Andre Albsmeier wrote: > When trying to run > > chown -h -R user.group file ... > > I get the message > > chown: the -R and -h options may not be specified together > > Why is this so? I want to pass a whole file hierarchy over > to a user; including the symlinks (not what they point at). -R and -h are mutually exclusive. See chown(8); try the -H option. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major