Chown ???

Craig White craigwhite at azapple.com
Tue Apr 7 20:52:55 UTC 2009


On Tue, 2009-04-07 at 16:33 -0400, Jim wrote:
> I have a user /home/user directory that ended up with the wrong OWNERS 
> of his files , I know what cause it, it was my mistake, but I'm having 
> problems of get Folders, Files assigned to "michael" who is the real owner.
> As SU and in /home/michael folder I'am running the command;
> 
> chown -R michael:michael *
> 
> But it is not changing to owner "michael"   in SOME of the folders and 
> files in his 'home' folders.
> What command would I use ??
----
should work...

chmod -R michael:michael /home/user/michael

cd /home/user/michael
find . ! -user michael

will return all files/folders not owned by 'user' michael

(shouldn't be any)

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the fedora-list mailing list