chown user:user -R on /var : any chance to recover

Stefan Onken support at stonki.de
Sat Jan 16 18:34:56 UTC 2010


Leonard Chatagnier schrieb:

> Hear is a copy of my /var folder using ls -al which will likely fix your
> issue if you change ownership to agree:

Thank you.
I did on another Ubuntu machine:

find /var -type d -ls | awk '{printf "chown -R %s:%s \"%s\"\n", $5, $6, 
$11}' > script.sh

And moved this script to the broken machine and started it.. Thats did 
the trick (for further reference *G*)


-- 
www.stonki.de : My, myself and I
www.kbarcode.net : barcode solution for KDE
www.krename.net : renamer for KDE
www.proftpd.de : a FTP server...




More information about the ubuntu-users mailing list