![¿Por qué las opciones no se reflejan en la salida del montaje?](https://rvso.com/image/1346173/%C2%BFPor%20qu%C3%A9%20las%20opciones%20no%20se%20reflejan%20en%20la%20salida%20del%20montaje%3F.png)
# mount -t ntfs-3g -o no_def_opts,windows_names,noatime,uid=1000,gid=1000 /dev/disk/by-id/ata-Maxtor_6V250F0_V593GLTG-part1 /mnt/ata-Maxtor_6V250F0_V593GLTG/
# mount
/dev/sda1 on /mnt/ata-Maxtor_6V250F0_V593GLTG type fuseblk (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,blksize=4096)
El propietario y el grupo están configurados correctamente (según el ID) cuando miro el resultado de:
ls -la /mnt/ata-Maxtor_6V250F0_V593GLTG
Cuando no hay uid=1000,gid=1000 (primer comando) no hay
default_permissions
en la salida (segundo comando).
Según la página de manual de mount.fuse:
default_permissions
By default FUSE doesn't check file access permissions, the filesystem is free to implement it's access policy or leave it to the underlying file access
mechanism (e.g. in case of network filesystems). This option enables permission checking, restricting access based on file mode. This is option is usually
useful together with the allow_other mount option.
Entonces es un poco confuso que UID y GID permanezcan en 0 (segundo comandoPRODUCCIÓN), pero se establece otra opción.
También he notado que, sin embargo, ntfs-3g es un sistema de archivos FUSE, es diferente a los demás:
El usuario sin privilegios no puede montar dispositivos de bloque NTFS utilizando la biblioteca FUSE externa. Monte el volumen como root o reconstruya NTFS-3G con soporte FUSE integrado y conviértalo en setuid root. Por favor vea más información en http://tuxera.com/community/ntfs-3g-faq/#unprivileged
¿Alguien sabe el motivo del "problema" anterior?
De todos modos, está funcionando bien. Sólo curioso.