On Tue, 2009-04-07 at 22:58 +0200, Uwe Kiewel wrote: > Craig White wrote: > > 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 > > assuming you're takling about chown > > > > > cd /home/user/michael > > find . ! -user michael > > > > will return all files/folders not owned by 'user' michael > > if there are any files: > > find . ! -user michael -exec chown michael:michael {} \; > ---- yeah, chown... ;-) one liner showoff... ;-) Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines