I've just installed Steam on Ubuntu 20.04, dual booted with windows on a huawei matebook 14 laptop. I am trying to set a games library directory on my Data disk, which is a separate hard drive. On boot the drive is not mounted, and when I mount it I can not create files on it, until changing permissions by remounting with read/write. However after remounting with read/write I can create files in the file browser, but steam still says read-only. I have added a line to fstab to mound with auto,exec permissions on boot but this doesn't even change permissions in the file browser. I have also tried changing the owner of the filesystem with chown, this allowed me to alter permissions in the file browser, but steam still gave the same error.
I have attached the output of ls -la in the appropriate folder on the disk, after remounting as you can see.
peter@peter-Ubuntu:/media/peter/Data$ sudo mount -o remount,rw /dev/nvme0n1p4
[sudo] password for peter:
peter@peter-Ubuntu:/media/peter/Data$ ls -la
total 16
drwxrwxrwx 1 root root 4096 Jun 15 08:58 .
drwxr-x---+ 3 root root 4096 Jul 3 17:58 ..
drwxrwxrwx 1 root root 0 Jun 7 13:21 '$RECYCLE.BIN'
drwxrwxrwx 1 root root 4096 Apr 16 05:53 'System Volume Information'
I imagine that running steam as root might avoid this problem but I do not like processes running as root that don't need to be.
Thanks in advance for any assistance, and let me know if I can provide any more information!
UUID=<UUID of disk/partition to be mounted> /media/user/Data ntfs-3g auto auto,rw,exec 0 0
Thanks again Chris, you have saved me a headache!
– skinnypete Jul 03 '20 at 20:15