5

I'm mounting directories. I wrote the needed lines to /etc/fstab.I'm using cifs protocoll.

I wonder what the parameters uid and gid do, since they're similar for any user. (So this can't be any user id.)

Asqiir
  • 417

1 Answers1

2

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?

sudodus
  • 46,324
  • 5
  • 88
  • 152