Need to change uid and gid

Jonathan Ryshpan jonrysh at pacbell.net
Fri Nov 11 22:22:52 UTC 2011


In the process of upgrading from Fedora-15 to Fedora-16, my uid and gid
have both been changed from 500 to 1000.  I maintain a "mirror" of my
system as backup using rsync, so in order for the mirroring to continue
properly the uid and gid in the mirror filesystem have to be changed to
match the main one.  There's no problem with my home directory, just use
"$ chown --recursive 1000.1000" in the mirror of my home directory.
However there are a few odd files, like my crontab
file /var/spool/cron/jonrysh which needs to have its uid (but NOT its
gid) changed.

Where is a convenient script to do this?  There must be one, since this
is essentially what was done in the upgrade from Fedora-15 to Fedora-15.

Many Thanks - jon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20111111/976cd4fa/attachment.html 


More information about the users mailing list