Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

What is the right way to automount drives for selected users using /etc/fstab?

$
0
0

I am currently mounting my ntfs drive using

UUID=123FSDF345233 /media/user/Disk ntfs uid=1000,gid=1000,umask=000,sync,auto,rw 0 0UUID=123FSDF345233 /media/user/Disk ntfs uid=1001,gid=1002,umask=000,sync,auto,rw 0 0

in /etc/fstab for selected number of users. I found this method while experimenting with /etc/fstab. Is this the right way to do this or is there any other better method to do it?

Something like this

UUID=123FSDF345233 /media/user/Disk ntfs uid=[1000,1001],gid=[1000,1002],umask=000,sync,auto,rw 0 0

Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>