consistent UIDs across multiple systems.
silver.bullet at zoho.com
silver.bullet at zoho.com
Mon Oct 19 14:30:26 UTC 2015
On Mon, 19 Oct 2015 10:44:51 +0200, Petter Adsen wrote:
>On Mon, 19 Oct 2015 10:21:14 +0200
><silver.bullet at zoho.com> wrote:
>
>> Consider never to use a search engine and to e.g. search using a term
>> as e.g. "linux change user id" :p.
>
>To be fair, Ralf, I think he was more looking for input on whether he
>should synchronize the UIDs manually or use something like NIS or LDAP.
My apologies.
>> Be careful with changing ownership of directories and files using the
>> find command. I don't remember why it's tricky, but once I changed
>> ownership on a FreeBSD install from 1001 to 1000 and IIRC the FreeBSD
>> mailing list community and I failed to notice an issue when using
>> find.
>
>I can't recall ever having any problems doing just that, but of course
>there will always be corner cases. I'd be interested to know if you
>remember any details, though.
I'm curious myself. Perhaps I misremember and the reason was a mistake
I made. If so, then I wonder if it was a mistake I made, because I was a
fool or because there is something that easily could happen, even if a
user is careful. Or do I remember correctly that there is a(n
exceptional) case that causes the find command to fail?
Unfortunately I couldn't find the thread by an Internet search and I
don't have access to my old emails at the moment, to search email
bodies.
Seemingly a lot of users used find for this purpose without trouble, so
perhaps I just was a fool.
I have to admit that I sometimes typ very fast and push enter, e.g.
"rm /a/path/ *", but it should be "rm /a/path/*" without a space ;).
Nowadays I'm in the habit typing "rm -I" and "mv -i" and sometimes to
mount partitions read only, so I not that often need to restore
from a backup ;).
Regards,
Ralf
More information about the ubuntu-users
mailing list