Mount exFat drive on Ubuntu not as root
Solution 1:
Software to run exFAT
Depending on the version of Ubuntu or Ubuntu based operating system you may or may not need to install the following program packages,
sudo apt-get install exfat-utils exfat-fuse
See this link for more details,
How do I copy a file larger than 4GB to a USB flash drive?
Mounting exFAT
Many versions of Ubuntu and Ubuntu based operating systems will mount Microsoft file systems (FAT32, exFAT, NTFS) with read/write permissions automatically for root as well as the current user.
But some versions (of Ubuntu and Ubuntu based operating systems) will mount them with write permissions only for root (or not at all). Then you can unmount and remount (mount) the file system with commands like this,
Create mountpoint (only if you want a new mountpoint)
sudo mkdir -p /mnt/sd1
Unmount (only if already mounted)
sudo umount /dev/sdxn # general syntax
sudo umount /dev/sdb1 # modify to match your case
Check your userID's uid
number (it is usually 1000, sometimes 1001 or 1002 ...)
grep ^"$USER" /etc/group
and use that number if you want to grab ownership (default is root
).
Example of mount command line that should give you something that is close to what you want,
sudo mount -o rw,users,uid=1000,dmask=007,fmask=117 /dev/sdxn /mnt/sd1 # general syntax
sudo mount -o rw,users,uid=1000,dmask=007,fmask=117 /dev/sdb1 /mnt/sd1 # modify to match your case
See this link for more details,
How to change default permissions on automounted usb flash, formatted in NTFS?