1

I am on a dual boot machine and recently upgraded from Ubuntu 16 to Ubuntu 17. I have a 1 TB FAT32 SATA drive that was shared with Windows on Ubuntu 16 (D: on Windows, /media/willem/... on Ubuntu).

When I upgraded to 17, this device became more difficult to deal with. Many of the options in gparted are now greyed out for this device, and mounting has a new set of challenges. I can mount via:

sudo mount /dev/sda1 /dos

But now only root is able to write to this drive. Attempting to change ownership via:

sudo chown -R willem:willem /dos

results in a set of errors:

changing ownership of '/dos': Operation not permitted
changing ownership of '/dos/$RECYCLE.BIN': Operation not permitted
...

I can read and modify files on this device as root but non-root users have only read permissions. All files creates by root on this drive have permissions set as 755. Trying:

sudo chmod 644 file.txt

does not change the permissions away from 755 but does not raise errors either.

Any suggestions for how to mount/configure this secondary drive properly?


Update:

Updating /etc/fstab settings from this post now allows all users read/write access to the SATA drive. Files created with Ubuntu are readable but not writeable in Windows. Files created in Windows are readable and writeable in Ubuntu. This is such a minor inconvenience that it's hardly worth bothering with. If there is a more elegant solution, or insight into why it suddenly changed when updating to Ubuntu 17, please let me know. Otherwise I'll close this thread out...

willem
  • 131
  • 6

1 Answers1

0

I was able to mount this drive with the proper permissions by formatting the drive to NTFS from Windows (was FAT32) and then adding the following line to /etc/fstab, inspired from this post:

/dev/sda1 /media/dos ntfs nls=iso8859-1,permissions,users,auto,exec

willem
  • 131
  • 6