Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Quick fstab question

  • 09-06-2009 02:14PM
    #1
    Registered Users, Registered Users 2 Posts: 218 ✭✭


    Just wondering what line people use in their fstab to mount a second hard disk with media. I used to use:
    LABEL=media /mnt/media ntfs-3g auto,users,uid=1000,gid=100,utf8,dmask=026,fmask=137 0 0

    Now that I'm using mpd I've had to set dmask=022 and fmask=133. Is this safe-ish? mpd is a daemod which runs under the username mpd. I've tried to add mpd to the "users" group:
    usermod -a -G mpd users
    But this didn't work.

    Any suggestions or am I grand as is?
    Also is there a reason why dmask and fmask are inverted?


Advertisement