chown

Advent Systems adventsystems at verizon.net
Sun Apr 3 09:54:47 EDT 2005


I went to my /etc/fstab file and edited the options section for the line 
that represented my data drive. It used to read "Defaults" and I changed 
it to read "uid=<myusername>". Rebooted, searched for my files via 
nautilus, and was able to open all of them perfectly. Prior to this I 
had to cd to each directory and chown it by hand before I could use the 
file. I was using * to change whole directories at a time but with about 
4000 directories It was taking forever.

Bob Randal


S. Lawton wrote:

>On Sat, 02 Apr 2005 05:24:03 -0500
>Advent Systems <adventsystems at verizon.net> wrote about "Re: chown":
>
>  
>
>>Disregard this previous post, I was doing it all wrong.
>>Bob Randal
>>
>>Advent Systems wrote:
>>
>>    
>>
>>>Guys,
>>>   I need to change the ownership of LOTS of files.  There are approx 
>>>50 sub-directorys, most with sub-sub directorys which have 15-20 files 
>>>in each.  From what I gathered from the man pages I should be using 
>>>the -R option with chown but it starts to change the ownership then I 
>>>get the message: "Operation not supported".  I can go into each 
>>>directory and change the ownership with "chown <new owner> *" but this 
>>>is taking forever and It seems there has to be a better way?
>>>
>>>Thanks'
>>>Bob Randal
>>>
>>>      
>>>
>
>Bob - for those of us that are curious, and save our nflug messages for future reference, could you please post what you did that DID work ?
>I've always done it one by one in a GUI file properties box depending on which distro I'm playing with. 
>I've always got to have my wallpapers and mp3s that are stored on Windows partitions. :-)
>Thanks
>  
>




More information about the nflug mailing list