2

I went through every question & answer about mounting external exfat drive on "Ask Ubuntu", but none of them is of any help to my situation. Hope that someone can help me out.

I am running Ubuntu 22.04 and after successfully mounting an external USB exfat 4TB SSD, I found that the drive only allows "super user" to write and create files on it. Users' permissions are restricted to read only. I tried using commands: chown, chmod and none of them worked. More, nothing about the drive showed up in /etc/fstab after the mount.

Here are what I saw on my terminal:

cl@icl-HP-ENVY-Notebook:~$ ls -lar /media/
total 20
drwxrwxrwx+  4 root root 4096 Oct  9 13:48 icl
drwxrwxrwx   2 icl  icl  4096 Oct  4 20:55 exfat-1
drwxrwxrwx   2 icl  icl  4096 Aug 20  2022 exfat
drwxr-xr-x  20 root root 4096 Oct  3 19:17 ..
drwxrwxrwx   5 root root 4096 Oct  4 20:55 .
icl@icl-HP-ENVY-Notebook:~$ sudo mount -t exfat /dev/sdd /media/exfat
[sudo] password for icl: 
icl@icl-HP-ENVY-Notebook:~$ ls -lar /media/
total 1040
drwxrwxrwx+  4 root root    4096 Oct  9 13:48 icl
drwxrwxrwx   2 icl  icl     4096 Oct  4 20:55 exfat-1
drwxr-xr-x   4 root root 1048576 Oct  9 21:22 exfat
drwxr-xr-x  20 root root    4096 Oct  3 19:17 ..
drwxrwxrwx   5 root root    4096 Oct  4 20:55 .

Please Note: ownership and group of /media/exfat changed to "root" after the mount, whereas previously ownership and group of /media/exfat were "icl" (why?)


icl@icl-HP-ENVY-Notebook:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb1 during installation
UUID=33818781-1f10-4a52-af6a-65b75c14863b /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=B812-0612  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
icl@icl-HP-ENVY-Notebook:~$ 

Please Note: nothing about the mounted drive showed up in /etc/fstab


While I could logon as super user: "su" and create and copy files on the newly mounted drive, I could not do it as a user.

I tried using command line: chmod, chown while logging in as su, none of them worked.

I also tried using the Disk Utility, still it didn't work.

Also, could someone tell me how to auto mount the said external USB 4TB exfat SSD drive, such that every user can have write privilege.

mchid
  • 44,904
  • 8
  • 102
  • 162
kowloon
  • 21
  • 1

0 Answers0