fUnionfs not working as expected
by geekdude from LinuxQuestions.org on (#6HPW0)
Seeing as Windows 7 is not supported in steam anymore and windows 10 and 11 are annoying I Decided to try installing Nobara linux and see how many of my Steam games will work on it. On a tip that I found on Discord I decided to mount the NTFS partition I have for steam files read only in a union filesystem with an Ext4 partition to save changes. How this was explained to me to work is that you can make changes to the filesystem and they are saved to the read write partition leaving the read only partition intact.
In practice I am finding it takes root privileges to delete most files even though I have 777 access rights and am set as the group and owner on all files in the partition. If I try to delete a file on the union partition without using sudo it shows the error: Quote:
but I can delete it with root which makes me think its a privileges issue maybe. Also I cannot make directories anywhere on the partition It tells me: Quote:
Here are the fstab entries for the partitions: Code:UUID=7CF6C72C1E7BCB6C /mnt/WinSteam ntfs3 uid=1000,gid=1001,ro,user,exec,umask=000,nofail 0 0
UUID=c90853dc-54aa-462d-bcb6-e07b6ef5e56c /mnt/LinuxSteam ext4 defaults,rw,exec,noatime,nofail 0 0
funionfs#none /mnt/Steam fuse dirs=/mnt/LinuxSteam=RW:/mnt/WinSteam=ro,uid=1000,gid=1001,rw,exec,allow_other,nofail 0 0
when I try to run any game from steam that is on the union filesystem it shows as needing an update but cannot update and shows a disk write error when I try probably due to the issues I have listed.
I'm wondering if I don't have the configuration right or if I need to look at another filesystem such as aufs, overlay, or a non fuse based version of union.
In practice I am finding it takes root privileges to delete most files even though I have 777 access rights and am set as the group and owner on all files in the partition. If I try to delete a file on the union partition without using sudo it shows the error: Quote:
rm: cannot remove 'foo.exe': Read-only file system |
mkdir: cannot create directory ifooi: No such file or directory |
UUID=c90853dc-54aa-462d-bcb6-e07b6ef5e56c /mnt/LinuxSteam ext4 defaults,rw,exec,noatime,nofail 0 0
funionfs#none /mnt/Steam fuse dirs=/mnt/LinuxSteam=RW:/mnt/WinSteam=ro,uid=1000,gid=1001,rw,exec,allow_other,nofail 0 0
when I try to run any game from steam that is on the union filesystem it shows as needing an update but cannot update and shows a disk write error when I try probably due to the issues I have listed.
I'm wondering if I don't have the configuration right or if I need to look at another filesystem such as aufs, overlay, or a non fuse based version of union.