Bullcat
Verified User
Hello,
After a serieus crash last night i getting back everything from a backup, but now all the user dir's a mixed up the owner is the wrong one.
How can i fixed this ?
will the next script do my job , and set al back to the owner of that dir ? it is the same name as the directroy name.
for i in 'ls'; chown -R $i:$i $i; done;
Regards
hans
After a serieus crash last night i getting back everything from a backup, but now all the user dir's a mixed up the owner is the wrong one.
How can i fixed this ?
will the next script do my job , and set al back to the owner of that dir ? it is the same name as the directroy name.
for i in 'ls'; chown -R $i:$i $i; done;
Regards
hans