protonscr

Can't add steam library from NTFS partition (lack of execute permissions)

steamopen Steam client
ValveSoftware/steam-for-linux#4874 · opened 2017-02-28 by Tercus · updated 2018-01-14 · 4 comments · github
TTercus 2017-02-28 github

My system information

  • Steam client version: Jan 19 2017
  • Distribution: KDE neon (based on ubuntu 16.04)
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Issue description:

I have two harddrives and on one harddrive I have linux installed and on the other I have windows installed. The harddrive with windows has two partitions, one for windows itself and one for data, both formatted with NTFS. On the data partition I have my steam library.

I tried to add that library to my steam client in linux, but it always fails with the error message of missing execute permissions. I tried all combinations of options in the fstab, but none seemed to work. I tried:

  • setting uid and gid
  • using umask (and fmask/dmask)
  • defaults option
  • rw, exec options
  • different combinations of all of these
  • using different mount points

what else can I try to get it to work?

sidenote: I know using my windows library under linux is not advisable, but this has become more of a this-should-work-but-doesn't kind of problem that I want to solve.

Kkisak-valve maintainer 2017-02-28 github

Hello @Tercus, what is the full path of the steam library you are trying to add? You may be affected by #4637.

TTercus 2017-02-28 github

The full path is /media/Data/Games/SteamLibrary. I thought that bug may not apply to my situation as I also got the error when I tried adding any folder to the library. I wanted to make sure and now tried renaming the folder, sadly that didn't work. But I also noticed other things:

  • I can add newly created empty folders
  • it always creates a steamlibrary folder inside the selected folder
  • I cannot add my steam library even after renaming it (SteamLibrary -> steamlibrary), and I get a execute permission error
  • I cannot add other non-empty folders; I get a "new library folder has to be empty" error.

But the weirdest thing is this:

  • I cannot add any folder named steamlibrary inside my Games subfolder, even if I create it; it always leads to a execute error
  • any other folder created in that subfolder works without problems

so basically /media/Data/Games/test works, but /media/Data/Games/steamlibrary does not

XXentrics 2017-07-05 github

That is actually a decent bypass for now (just changing the name of the folder). Interestingly, the problem does not exist with steam+wine.

Ccafehaine 2018-01-14 github

Had this problem because I forgot to disable fast startup on my windows 10 dualboot,
The error message should be more descriptive because when I had the error I had also no write permission.
Anyway It now works, and I mount my ntfs partition with the following line in my fstab :
UUID=4C0AA22F36BFAA4A /docs ntfs-3g uid=cafehaine,gid=users 0 0
(my user has full permissions over the mountpoint thanks to the uid=username option)
Hope it helps some people
EDIT: the error displayed was "No execute permission" where a more important error should have been "No write permission"

Nothing extracted yet.