maharmstone / btrfs

WinBtrfs - an open-source btrfs driver for Windows
GNU Lesser General Public License v3.0
5.6k stars 220 forks source link

Can't properly share the drive between OSes #606

Open demperor-music opened 8 months ago

demperor-music commented 8 months ago

I'm currently dual-booting Arch Linux and Windows 11 on my system. On Windows 11, I use winbtrfs to share my 1TB games drive between the two operating systems. Everything works fine, except for Steam.

Image

The problem arises when I try to update games on Steam that I installed through Windows. I checked the file attributes and attempted to resolve the issue by using chmod and chown on the directory, but that doesn't seem to help.

I've set up mappings to link my Windows account to my Linux one, but this doesn't seem to solve the issue, either. Additionally, I tried adding noacl to my /etc/fstab, but that also doesn't seem to help with the problem.

Deleting the game folder through the terminal allows me to reinstall it without errors until Steam initiates another automatic update. However, i don't think this is a valid solution Is there something i'm missing?

maharmstone commented 8 months ago

Just for Counter-Strike, or other games as well? Try manually setting the security for the directory in Explorer.

Steam's going to get confused with Counter-Strike, as it has a native Linux version. You might be able to do what you describe with Proton games, but not with native Linux games.

blickers commented 7 months ago

Same issue.

I have tested other games like Universe Sandbox, Space Engine, and Age of Empires II: Definitive Edition. These three games run smoothly on Linux using Steam Play (Proton). However, sharing the same Steam library between Linux and Windows 11 does lead to this issue.

patrolez commented 2 months ago

I guess that the solution is to remember that under Linux there must be exec option flag passed for the mountpoint: https://www.reddit.com/r/linux_gaming/comments/uiz4h1/comment/i7g7vzg/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

The exec flag is also implicitly assumed when the defaults option flag is being provided.

The option flags can be passed via /etc/fstab/ and/or via mount -o … command