Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: good replacement for chown ?

  • Subject: Re: good replacement for chown ?
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Sun, 15 Apr 2007 08:30:45 +0100
  • Newsgroups: comp.os.linux.advocacy
  • Organization: schestowitz.com / Netscape
  • References: <1176597299.002547.304430@b75g2000hsg.googlegroups.com> <pan.2007.04.15.00.42.56.418724@gmail.com> <1176602367.332661.85520@p77g2000hsh.googlegroups.com> <AbgUh.152130$ZA5.84322@newsfe15.phx> <1176608890.537264.188540@n76g2000hsh.googlegroups.com>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
__/ [ fletchb@xxxxxxxxx ] on Sunday 15 April 2007 04:48 \__

> On Apr 14, 9:35 pm, Lampros Liontos <r...@xxxxxxxxxx> wrote:
>> flet...@xxxxxxxxx, you wrote the following on Saturday 14 April 2007 06:59
>> pm:
>>
>>
>>
>> > On Apr 14, 7:42 pm, p5000011 <p5000...@xxxxxxxxx> wrote:
>> >> The banal fletchb scribbled:
>>
>> >> > Any utils that can change ownship of files and directories below
>> >> > your current dir? With my distro the -R command also changes the
>> >> > ownship of the directories ABOVE the current dir causing a big mess.
>>
>> >> Please post the actual command you used. I use 'chown -R' quite often
>> >> and it never does what you say.
>>
>> > chown -R name:group *
>>
>> > Yes I know it used to not do that but it went to the top of the home
>> > dir took ownship and all others within it.
>>
>> > Again, what is good replacement..cl or gui is fine. I need to fix a
>> > bunch of home dir and all files and subs within.
>>
>> > tnx, Fletch
>>
>> Here's a way to fix that:
> Thank you!
> You just made my evening and saved me hours of work!
> 
>> chown name:group `find`
>>
>> `find` will locate all files in the current directory and below, and does
>> not return the parent directory.

It would be interesting to discover why chown behaved as you say it did. My
first thought was: link in the home directory. While it's not clear if chown
will follow it (I don't know the answer), assuming you were not running as
root, you would get errors/warnings.

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index