Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory permission issues - MO2 won't launch #656

Open
rockerbacon opened this issue May 18, 2024 · 6 comments
Open

Directory permission issues - MO2 won't launch #656

rockerbacon opened this issue May 18, 2024 · 6 comments
Labels
discussion Conversation about the project or related subjects help wanted Extra attention is needed

Comments

@rockerbacon
Copy link
Owner

rockerbacon commented May 18, 2024

Introduction

This is an open discussion on working around a range of long-standing issues caused by install location restrictions. The installer has always allowed users to openly select any install location for MO2, and this severely degrades user experience for those affected by the aforementioned restrictions.

Currently known

Here's a list of currently known restrictions we'd like to avoid. Please speak up if something was left out.

  1. MO2's USVFS does not properly handle symbolic links -- Issues with MO2 not detecting plugins when launched through Skyrim #546
  2. MO2's USVFS does not work cross-filesystem, aka game and MO2 must be in the same "drive" -- sparse reports here and there on this, no specific issue to link to
  3. MO2 cannot be used with a portable instance in a subdirectory containing spaces -- Cannot start organizer #346
  4. Flatpak only: Steam and Protontricks containers must be given explicit access to the install location -- Steam flatpak version not working (everything on one drive) #312
  5. Steam Runtime Engine must have access to the install location -- Steam Runtime Engine blocks access to certain directories #285
@rockerbacon
Copy link
Owner Author

My immediate thought is that enforcing a safe install location inside the game's library is enough to cover all but the Flatpak problem. This would be parametrized through an environment variable in case advanced users wish to pick a different location.

There is no real fix for the Flatpak issue because of Protontricks. The best we can do is check that the container has access to the game's library and fail with descriptive error if it doesn't.

@danaYatsuta
Copy link

danaYatsuta commented May 22, 2024

Regarding 3: I think just having spaces in path is a problem.
I tried installing MO2 in two ways:

  1. selected /home/yatsuta/Games/Morrowind/Mod Organizer 2 as MO2 location in install.sh, so it's not in the same directory as the game
  2. created portable instance in MO2, left all paths at default
  3. MO2 doesn't launch

Then with directory without spaces:

  1. selected home/yatsuta/Games/Morrowind/MO2
  2. created portable instance in MO2, left all paths at default
  3. MO2 works as expected

@rockerbacon
Copy link
Owner Author

Regarding 3: I think just having spaces in path is a problem. I tried installing MO2 in two ways:

1. selected `/home/yatsuta/Games/Morrowind/Mod Organizer 2` as MO2 location in install.sh, so it's not in the same directory as the game

2. created portable instance in MO2, left all paths at default

3. MO2 doesn't launch

Then with directory without spaces:

1. selected `home/yatsuta/Games/Morrowind/MO2`

2. created portable instance in MO2, left all paths at default

3. MO2 works as expected

Thanks for the insight! I've updated the original comment.

Repository owner deleted a comment from Deamane Jun 22, 2024
Repository owner deleted a comment from Murph2 Jun 22, 2024
Repository owner deleted a comment from Murph2 Jun 22, 2024
Repository owner deleted a comment from Tallion-07 Jun 22, 2024
@rockerbacon
Copy link
Owner Author

Deleting some comments due to them being off topic. This is not a random support forum, do not post here unless you have clear, concise and constructive information that directly relates to this issue.

@Rain-Gayming
Copy link

I installed MO2 again and im getting

Error 2 ERROR_FILE_NOT_FOUND: Filenotfound. (0x2) . binary: 'Z:\home\rain\.local\share\Steam\steamapps\common\Skyrim Special Edition\Mods\modorganizer2\ModOrganizer.exe' . owner: (file not found) . rights: (file not found) . arguments: '' . cwd: 'Z:\home\rain\.local\share\Steam\steamapps\common\Skyrim Special Edition\Mods\modorganizer2' . stdout: no, stderr: no, hooked: yes . MO elevated: yes . usvfs x86:ok x64:ok proxy_x86:ok proxy_x64:ok

i think its related to this

@Rain-Gayming
Copy link

ok i can confirm what @danaYatsuta said, its an issue with having spaces in you mod organiser 2 install location name.
"Morrowind Mod Organizer" gave the file not found error but "MorrowindMO2" didnt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Conversation about the project or related subjects help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants