Can't get exfat permissions

I am trying to permanently mount an exfat partition, and it won’t give me user permissions at all. Create is greyed out when I try to add folders to it as my user.

I have tried umask, fmask, dmask, uid, and gid settings in fstab/partitionmanager, and none of those or a combination of a few don’t do anything. I tried changing permissions and it either says I can’t do it or it just doesn’t change anything.

Only way I can add files to it at all is as root/sudo -s in the console. Any suggestions?

image

the exfat filesystem does not support any permissions, so you need to make sure the mountpoint itself is set up with proper permissions.

An fstab entry like this

UUID=XXXX-YYYY-ZZZZZ /mnt/Mechanical exfat defaults,uid=1000,gid=1000 0 0

Your user uid and gid you can get with

id $USER

So in your case

id dilan
1 Like

I think I got it. Had to make it a mountpoint of its own instead of the /mnt/Mechanical. So I had to make it /mechanical instead then it started paying attention to the mount options, but only on reboot (unmounting it and remounting it didn’t make it work).

A simple way around this particular permission issue, is to create the mount point in your home folder.
Eg:

/home/dilan/Mechanical

If on a shared system though, the way you’ve done would be more appropriate.

1 Like