Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to help change file user ID's' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to help change file user ID's
Authored by: scstraus on Aug 11, '05 07:48:49AM

Make sure you open a new shell after you change your owner or you'll get these errors:

Xanadu:~ scstraus$ sudo find ./ -user 501 -exec chown scstraus {} ; -print
sudo: uid 501 does not exist in the passwd file!

Xanadu:/usr/local/scripts scstraus$ sudo ./fixowner 501 scstraus /
sudo: uid 501 does not exist in the passwd file!

---
I came into this game for the action, the excitement. Go anywhere, travel light, get in, get out, wherever there's trouble, a man alone.



[ Reply to This | # ]