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: jms1 on Nov 13, '03 12:36:28AM

If you also have to change a group-id to match what's on an NFS server, remember to "chgrp" your files as well.

example: old uid/gid=501, new uid/gid=301

find / -user 501 -exec chown 301 {} \;
find / -group 501 -exec chgrp 301 {} \;



[ Reply to This | # ]