Re: Renumber users and groups

2013-08-28 Thread Mark Felder
Can you please file a PR with your findings? That's definitely something we need fixed as mtree is pretty important to the project. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: Renumber users and groups

2013-08-27 Thread Olivier Nicole
One last comment, for the records, Those solutions sound pretty handy if I need to move the files at the same time. mtree should do this in-place with minimal fuss as it's just confirming permissions and ownership on all files. I also just thought of an idea I need to benchmark: running mtree

Re: Renumber users and groups

2013-08-21 Thread Mark Felder
On Wed, Aug 21, 2013, at 7:36, Olivier Nicole wrote: Is there a clever/fast way to do that (other than find -exec chown)? Maybe! I haven't tried this myself yet, but next time I need to do this I think I'm going to take an mtree backup of the entire filesystem, change the UIDs and GIDs

Re: Renumber users and groups

2013-08-21 Thread Frank Leonhardt
On 21/08/2013 13:36, Olivier Nicole wrote: Hello, On my system legacy users come with UID starting from 200 upward, and all users come with GID lower that 100. I know it's not a good idea, but consider that some accounts are over 20 years old! This is not too much a problem with FreeBSD as I

Re: Renumber users and groups

2013-08-21 Thread Mark Felder
On Wed, Aug 21, 2013, at 11:12, Frank Leonhardt wrote: On 21/08/2013 13:36, Olivier Nicole wrote: Hello, On my system legacy users come with UID starting from 200 upward, and all users come with GID lower that 100. I know it's not a good idea, but consider that some accounts are over

Re: Renumber users and groups

2013-08-21 Thread Mark Felder
On Wed, Aug 21, 2013, at 11:36, Mark Felder wrote: Those solutions sound pretty handy if I need to move the files at the same time. mtree should do this in-place with minimal fuss as it's just confirming permissions and ownership on all files. I also just thought of an idea I need to

Re: Renumber users and groups

2013-08-21 Thread Olivier Nicole
Thank you, Those solutions sound pretty handy if I need to move the files at the same time. mtree should do this in-place with minimal fuss as it's just confirming permissions and ownership on all files. I also just thought of an idea I need to benchmark: running mtree with and without nscd.