Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 1997 23:42:44 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Andre Albsmeier <Andre.Albsmeier@mchp.siemens.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Why is "chown -h -R" forbidden?
Message-ID:  <Pine.BSF.3.96.971026234216.12269V-100000@gdi.uoregon.edu>
In-Reply-To: <199710210633.IAA17716@curry.mchp.siemens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971026234216.12269V-100000>