You are not logged in.
Pages: 1
Hi guys !
I am trying to mingle with fstab since I am trying to mount on startup a few HDD's but have not been successful. so I want to ask what is the possible setup to mount all the hard drives with all access to my regular user e.g. USER1. It seems that my regular user has access to view and read but not to write on any of the mounted file systems. I went through https://wiki.archlinux.org/index.php/NTFS-3G not sure if I am missing something.
here is my line from fstab:
/dev/sdb2 /home/user1/Hdd1 ntfs-3g umask=0775,uid=1000,gid=100,rw 0 0
I've tried also
/dev/sdb2 /home/user1/Hdd1 ntfs-3g defaults 0 0
/dev/sdb2 /home/user1/Hdd1 ntfs-3g uid=user1,gid=users,rw 0 0
/dev/sdb2 /home/user1/Hdd1 ntfs-3g uid=user1,gid=users,dmask=022,fmask=133 0 0
Last edited by xc0brax (2017-06-06 22:40:50)
Offline
Please edit your post and remove the redundant plea for help: https://wiki.archlinux.org/index.php/Co … ow_to_post
Offline
You have the right bits but in the wrong combinations. The uid and gid are numeric values (as you have used in your current fstab). Check them with the id command.
For the permissions and masks, you need to carefully read this first. Then you need to understand that a mask restricts permissions, e.g. applying your mask of 0775 to e.g. 0777 results in the permissions 0002, i.e. your user and group cannot read, write or execute the path, but everyone else and write it (but not read it or execute it).
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Pages: 1