Hi everybody!
I'm using an external USB drive with one of my Moode 4.3 raspberries.
The drive is "automounted" like this:
I'd like to change either uid=0,gid=0 to mount the disk as a different user or (probably better) change the fmask/dmask so that a user other than root (uid=0) can access the files on the disk with RW permissions.
Questions:
franz
I'm using an external USB drive with one of my Moode 4.3 raspberries.
The drive is "automounted" like this:
Code:
/sbin/mount.ntfs /dev/sda1 /media/Seagate2T -o rw,nodev,nosuid,noexec,noatime,nodiratime,uid=0,gid=0,dmask=0077,fmask=0177,dmask=0022,fmask=0022,uhelper=udisks
I'd like to change either uid=0,gid=0 to mount the disk as a different user or (probably better) change the fmask/dmask so that a user other than root (uid=0) can access the files on the disk with RW permissions.
Questions:
- in which script is the mount command configured?
- is it better to change uid/gid or changing the dmask/fmask for example to give group permissions? I have already added another user to the root group (gid=0)
- why are dmask and fmask repeated twice in the mount command?
franz