On Mon, Oct 7, 2024, at 12:59 PM, Simo Sorce wrote:

> What happens if I plug a disk into a laptop that sports a "homed"
> directory, will the laptop suddenly allow a stranger to just login into
> the machine?

No, the account needs to be allowed by that machine's admin.

>
> What happens if there are conflicts of uid or gid ?

uid/gid are recursively changed at mount time to avoid conflicts. For large 
homes, this could result in a lot of metadata writes. And at least on my setup 
with many read-only snapshots in ~/, permissions changes wouldn't be permitted, 
even by the root user.

Some file systems have a uid= gid= mount option, but none of the ones we use 
for /home do. I wish this could be supported by VFS.


> Will it now allow this other user to access files and directories that
> should be reserved to other users?

No.


-- 
Chris Murphy
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to