/etc/fstab 中的参数 uid 和 gid 有何作用?

Asq*_*iir 5 fstab mount cifs uid

我正在安装目录。我将所需的行写入了。/etc/fstab我正在使用cifs协议。

我想知道参数uidgid的作用是什么,因为它们对于任何用户来说都是相似的。(所以这不能是任何用户 ID。)

sud*_*dus 2

Microsoft(和类似)文件系统的挂载选项,用于设置所有者和组

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.)
Run Code Online (Sandbox Code Playgroud)

有类似的文本ntfs。有关示例,请参阅以下链接,其中uid使用,

如何在 NTFS(或 FAT32)分区上使用“chmod”?