Great Circle Associates Majordomo-Workers
(October 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Chown
From: Gene Rackow <rackow @ mcs . anl . gov>
Date: Wed, 30 Oct 1996 08:30:03 -0600
To: bill @ biome . bio . dfo . ca (Bill Silvert)
Cc: majordomo-workers @ GreatCircle . COM
In-reply-to: Your message of "Wed, 30 Oct 1996 09:20:49 -0400." <199610301321.JAA19792@biome.bio.dfo.ca>

This seems like much of the right solution.  The 2 seperate finds
would be the best if you really are worried about portability as
some systems don't deal with the : or . version of chown, but I think
the chown and chgrp are everywhere.  If not, chances are there are 
other things that will kill it as well.


Bill Silvert made the following keystrokes:
 >Maybe I'm missing something in this, but if chown -R doesn't work,
 >what is wrong with
 >
 >find . -exec chown $USER:$GROUP {} \;
 >
 >As for the colon vs. period business, there are two approaches;
 >one is just the brute force solution
 >
 >find . -exec chown $USER {} \;
 >find . -exec chgrp $GROUP {} \;
 >
 >and the other, which I have long hoped for, would be a configuration
 >program like the one used by GNU which would examine the system and come
 >up with the right Makefile and configuration parameters.
 >
 >-- 
 >Bill Silvert, Habitat Ecology Section, Bedford Institute of Oceanography,
 >P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2, Tel. (902)426-1577
 >


References:
  • Chown
    From: bill@biome.bio.dfo.ca (Bill Silvert)
Indexed By Date Previous: Chown
From: bill@biome.bio.dfo.ca (Bill Silvert)
Next: Re: Diverge 1.95 and 2.0?
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Indexed By Thread Previous: Chown
From: bill@biome.bio.dfo.ca (Bill Silvert)
Next: Re: Chown
From: Jerry Peek <jpeek@jpeek.com>

Google
 
Search Internet Search www.greatcircle.com