what do the parameters uid and gid with /etc/fstab do?
8,024
Mount options for Microsoft (and similar) file systems to set the owner and group
From man mount
,
Mount options for fat
(Note: fat is not a separate filesystem, but a common part of the
msdos, umsdos and vfat filesystems.)
...
uid=value and gid=value
Set the owner and group of all files. (Default: the uid and
gid of the current process.)
There is a similar text for ntfs
. See the following link for examples, where uid
is used,
How do I use 'chmod' on an NTFS (or FAT32) partition?
Related videos on Youtube
Author by
Asqiir
Updated on September 18, 2022Comments
-
Asqiir over 1 year
I'm mounting directories. I wrote the needed lines to
/etc/fstab
.I'm usingcifs
protocoll.I wonder what the parameters
uid
andgid
do, since they're similar for any user. (So this can't be any user id.)