Does anyone know of a tool/script that will remap one set of uid's and gid's to another? I.e., if sarah has id 1005 on the original system, and I restore it to a system where sarah has id 1004, can I get something that will rewrite the id's on the new system to 1004.
Since I've had some luck with my restores, I'm on to more advanced problems. I can probably do reasonably well by applying chown recursively to a few high-level spots, but it would be nice if there were something more precise. Although this issue arose while using bacula, it's a general issue. Of course, it would be nice if bacula had some rewriting facility for uid/gid hooked into it. This is on Linux with a naive single-system approach to uid/gid. I think centralized schemes would pose more challenges, and I know modern versions of windows use UUID's for identity, with sometimes surprising results (e.g., if you delete the account for user joe, and then recreate an account for user joe, the system doesn't think they're the same user). Ross P.S. I tried searching on this in the archive, but I've been getting lots of server timeouts from sourceforge today. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
