Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Quick fstab question

Options
  • 09-06-2009 2:14pm
    #1
    Registered Users 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