mirror of
https://github.com/systemd/systemd
synced 2024-11-05 18:25:39 +00:00
mountpoint-util: tmpfs supports uid=/gid= mount options
As tmpfs(5) says, both uid= and gid= are supported since kernel 2.5.7 and the mount utility seems to agree: ``` # stat -c "%U:%G" mnt root:root # mount -o uid=testuser,gid=testuser -t tmpfs tmpfs mnt # stat -c "%U:%G" mnt testuser:testuser ``` However, systemd-mount currently complains: ``` # systemd-mount --owner testuser -t tmpfs tmpfs mnt File system type tmpfs is not known to support uid=/gid=, refusing. ```
This commit is contained in:
parent
59377dbef2
commit
7d4f00c88c
1 changed files with 1 additions and 0 deletions
|
@ -480,6 +480,7 @@ bool fstype_can_uid_gid(const char *fstype) {
|
|||
"iso9660",
|
||||
"msdos",
|
||||
"ntfs",
|
||||
"tmpfs",
|
||||
"vfat");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue