how to change ownership on all files in a folder

Paul Howarth paul at city-fan.org
Thu Apr 7 10:03:18 UTC 2005


thufir wrote:
> copying a directory of files from the cd to /home/thufir creates a ton of locked files with root ownership.  Whether this makes sense, dunno, but it can be inconvenient.
> 
> do people recursively go through these files, or is there an alternate solution?

Most likely this happened because you did the copy as root. If you did 
the copy using your regular user account, you'd be the owner of the 
files in the first place.

Paul.




More information about the users mailing list