Subject: Re: Changing group/user access to a file
To: Josh Hope <root@hick.com>
From: G. Evans <gevans@televar.com>
List: port-mac68k
Date: 04/27/1997 10:55:22
On Sun, 27 Apr 1997, Josh Hope wrote:

> Date: Sun, 27 Apr 1997 12:53:58 -0400 (EDT)
> From: Josh Hope <root@hick.com>
> To: port-mac68k@NetBSD.ORG
> Subject: Changing group/user access to a file
> 
> I'd like to change the group and user access to a file. I've looked at the
> chmod page, but I don't see anything mentioning this...
> 
> 2 drwxrwxr-x   3 root  wheel  512 Apr 27 04:28 irc/
> 
> I'd like to change root wheel to irc irc. What's the command?

how about this:

chown irc:irc irc


I believe that their may be a flag to make this recursive for all files in
the directory, but if you just want to change the one directory ownership,
then the above should work.

-Greg Evans (gevans@televar.com)

								        
<obligatory.signature>
								       
  The Box said Win '95 or better - So I used a Macintosh!	       
			-Harold Herbert Tessman			       
								       
   The idea that Bill Gates has appeared like a knight in shining     
   armour to lead all customers out of a mire of technological        
   chaos neatly ignores the fact that it was he who, by peddling      
   second-rate technology, led them into it in the first place.       
			-Douglas Adams, on Windows '95   	       

</obligatory.signature>