![]() |
How to change fmask/dmask for USB mount - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: How to change fmask/dmask for USB mount (/showthread.php?tid=637) |
How to change fmask/dmask for USB mount - franz159 - 10-30-2018 Hi everybody! 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:
franz RE: How to change fmask/dmask for USB mount - Tim Curtis - 10-30-2018 Have a look at cat /etc/udisks-glue.conf -Tim RE: How to change fmask/dmask for USB mount - franz159 - 11-03-2018 (10-30-2018, 10:29 PM)Tim Curtis Wrote: Have a look at Thanks! |