1

Accidentally Changed File Ownership to Include a "Comment" [AIX]

view story
linux-howto

http://www.unix.com – Hi. I've had a little mishap. To cut a long story short, I've accidentally recursively ran chown on a directory (actually a bunch of 'em). Not a problem in itself, but I had a slight error in the code I used to get the list of directories and ended up with a comment in the file ownership. For example, I now have directories full of stuff like: Code: $ ll php total 40 drwxr-xr-x  4 # Scott -  staff    136  3 Oct 12:37 . drwxr-xr-x  14 root  system    476  5 Oct 16:24 .. -rw-------  1 # Scott - staff  12288  3 Oct 12:39 (HowTos)