20
/etc/fstab bing a very important NTFS drive on boot
(lemmy.world)
Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.
Yes, the
uidandgidyou are setting infstabsimulate a linuxuid:gidstyle ownership of the files an directories on the device. They can't be changed.You may create a group, let's call it
ntfsusers, and add the users that need to use the files and directories on the ntfs partition to that group and assigngidwith the group id ofntfsusersinfstab.that's what I meant with this :
I already have a group like that, sharedFolders, if I use the ID from that eg :
and modify FSTAb like this :
UUID=666 /media/myUser/Data auto defaults,nofail,x-systemd.automount,uid=1000,gid=1003 0 2would that work?
At least the files and directories should then have the right ownership.
I did set it to that, and the folder I am mounting to now has this :
but when I login as otherUser, they cannot access the /media/myUser/Data folder. What could I be doing wrong?
Which groups does your ordinary user belong to and which the one that cannot acces the path?
Does the group
sharedFoldershave permission on the folder/media/myUser/Databefore you have mounted the device?