|
|
Log in / Subscribe / Register

UID/GID identity and filesystems

UID/GID identity and filesystems

Posted Mar 26, 2015 1:33 UTC (Thu) by josh (subscriber, #17465)
Parent article: UID/GID identity and filesystems

Ideally, filesystems should have arbitrary UID/GID remapping capabilities: a translation layer that says what system UID/GID (in the current namespace) any given on-disk UID/GID maps to.

Ideally, that shouldn't require root intervention to set up; if you have permission to mount, you should be able to set up a map using any UIDs and GIDs you control. Supplementary GIDs give you the latter, and I have a supplementary UIDs patch that would provide the former.


to post comments

UID/GID identity and filesystems

Posted Mar 26, 2015 12:08 UTC (Thu) by cortana (subscriber, #24596) [Link] (1 responses)

Hm, but who really has permission to mount? Only UID=0 || CAP_SYS_ADMIN, no? When I insert a disk into my system, it is mounted on my behalf by udisksd which is running as root.

UID/GID identity and filesystems

Posted Mar 26, 2015 15:38 UTC (Thu) by josh (subscriber, #17465) [Link]

Easy enough to create your own container in which you are root.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds