You are not logged in.

#1 2015-10-14 21:06:28

nicolascp
Member
Registered: 2015-10-13
Posts: 5

Properly setting Fstab for automounting NTFS partition.

Hi! I'm trying to set up a shared partition in my pc, I created it, it's running and all, but now I want to set it to automount so I can redirect my folders safely.
The problem I face is setting up the fstab file, over different sites they set different tags and things so I'm kind of confused. This is how my fstab file looks now:

# /dev/sda5
UUID=09059477-c9c2-467d-8128-7f2d85023ce9       /               ext4            rw,relatime,data=ordered        0 1

# /dev/sda6
UUID=a32e82bf-073e-4e9e-b21d-3562eb22e903       none            swap            defaults        0 0

#NTFS Partition
UUID=2466EA3259C03622   /mnt/storage ntfs    permissions,locale=en_US.utf8    0   2

Is every flag correct? Some places say ntfs and some ntfs-3g

Offline

#2 2015-10-14 22:58:33

Rethil
Member
Registered: 2014-08-21
Posts: 83

Re: Properly setting Fstab for automounting NTFS partition.

#NTFS Partition
UUID=2466EA3259C03622    /mnt/storage    ntfs    defaults,uid=<your user id>,gid=<your group id>,umask=0022,noexec,nodev,nosuid    0    0

Also this and that.

Last edited by Rethil (2015-10-14 23:04:04)

Offline

#3 2015-10-14 23:09:07

nicolascp
Member
Registered: 2015-10-13
Posts: 5

Re: Properly setting Fstab for automounting NTFS partition.

Rethil wrote:
#NTFS Partition
UUID=2466EA3259C03622    /mnt/storage    ntfs    defaults,uid=<your user id>,gid=<your group id>,umask=0022,noexec,nodev,nosuid    0    0

Also this and that.

Great, thanks. But I did it how I said in the OP, and I had some problems with the permissions (I was building some packages there) So now my permissions are all over the place, how can I fix this and set the fstab as you said?

Offline

#4 2015-10-15 00:06:25

Rethil
Member
Registered: 2014-08-21
Posts: 83

Re: Properly setting Fstab for automounting NTFS partition.

As root:

chown -R your_awesome_user:your_cool_group /mnt/storage

Offline

#5 2015-10-15 01:33:53

nicolascp
Member
Registered: 2015-10-13
Posts: 5

Re: Properly setting Fstab for automounting NTFS partition.

Rethil wrote:

As root:

chown -R your_awesome_user:your_cool_group /mnt/storage

I tried that and I still have permission problems hmm when I try makepkg it always shows permission errors, I fix it by setting it via Nautilus, but I don't want to do that for all the files and packag so... heh.

Offline

#6 2015-10-15 02:22:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,597

Re: Properly setting Fstab for automounting NTFS partition.

Don't run makepkg on a non-posix compliant filesystem like NTFS.

Offline

Board footer

Powered by FluxBB