Crashing on startup in Arch Linux

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
williamnbc
Posts: 15
Joined: 03 Dec 2018, 05:44

Crashing on startup in Arch Linux

Post by williamnbc » 03 Dec 2018, 05:55

Unmodded openmw runs just fine, but I encounter a problem for the majority of mods I install. On attempting to launch I get the error message

filesystem::recursive_directory_iterator directory error: Permission denied

I expect permissions will help but I don't know which files are causing this error, or even where openmw's files are located.

I tried running sudo openmw-launcher but this just sends me through the installation wizard and none of my mods are there.

User avatar
akortunov
Posts: 471
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

Re: Crashing on startup in Arch Linux

Post by akortunov » 03 Dec 2018, 07:33

1. You do not need to use sudo for OpenMW.
2. It it a quite hard to give advices without openmw.cfg
(you can attach it to forum post or just use any external storage, just do not copy-paste the whole file content to your post)

User avatar
psi29a
Posts: 4366
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: Crashing on startup in Arch Linux

Post by psi29a » 03 Dec 2018, 09:03

sudo just tells your app to launch as root, as a result openmw* will look at /root for all your mods (for example).

OpenMW is a normal application, you should not run it as root or via sudo.

I guess your .config directory is possibly set with funky permissions?

silentthief
Posts: 308
Joined: 18 Apr 2013, 01:20
Location: Currently traversing the Ascadian Isles

Re: Crashing on startup in Arch Linux

Post by silentthief » 03 Dec 2018, 16:09

williamnbc wrote:
03 Dec 2018, 05:55
Unmodded openmw runs just fine, but I encounter a problem for the majority of mods I install. On attempting to launch I get the error message

filesystem::recursive_directory_iterator directory error: Permission denied

I expect permissions will help but I don't know which files are causing this error, or even where openmw's files are located.

I tried running sudo openmw-launcher but this just sends me through the installation wizard and none of my mods are there.

I know a thing or two about troubleshooting in linux. As previously requested, can you add a link to the openmw.cfg. Also, can you try running from console and giving the output from that as well? (you may have to copy the terminal output to a text file, save that and link to that as well as the openmw.cfg file, if the output is large)

ST
"Hurry, hurry! Last boat to Solstheim! Until the next one. Hah-ha-hah."

lambda
Posts: 42
Joined: 11 Sep 2016, 17:10

Re: Crashing on startup in Arch Linux

Post by lambda » 03 Dec 2018, 16:40

For whatever is worth the settings in Arch are in the home subdir

.config/openmw

It should have normal permissions, so you may have messed something up. And as others said, do *not* use sudo. If you have to sudo you already have a messed up installation. I never encountered such a bug in Arch, but admittedly I have not played in a couple of months or more, so something may have changed in between.

The default settings are on

/etc/openmw

and this dir does does have root permissions, but the game should be able to read and load them just fine and normal. You should not be editing them, unless you really know what you are doing or you want to give yourself a world of pain just for the fun of it.

Edit: note on default settings.

williamnbc
Posts: 15
Joined: 03 Dec 2018, 05:44

Re: Crashing on startup in Arch Linux

Post by williamnbc » 03 Dec 2018, 19:14

Just to clarify, sudo isn't fixing anything. I just tried it to see if anything would change. The whole openmw folder has read/write permissions.
console output:
https://docs.google.com/document/d/10Ku ... sp=sharing

openmw.cfg:
https://drive.google.com/file/d/1CuqQyH ... sp=sharing

User avatar
akortunov
Posts: 471
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

Re: Crashing on startup in Arch Linux

Post by akortunov » 03 Dec 2018, 19:26

williamnbc wrote:
03 Dec 2018, 19:14
Just to clarify, sudo isn't fixing anything. I just tried it to see if anything would change. The whole openmw folder has read/write permissions.
console output:
https://docs.google.com/document/d/10Ku ... sp=sharing

openmw.cfg:
https://drive.google.com/file/d/1CuqQyH ... sp=sharing
I suppose the issue is here:

Code: Select all

Adding data directory /usr/share/games/openmw/data
It seems your user have no rights to access to the /usr/share/games/openmw/data folder. I wonder why it tries to load this folder, though.

williamnbc
Posts: 15
Joined: 03 Dec 2018, 05:44

Re: Crashing on startup in Arch Linux

Post by williamnbc » 03 Dec 2018, 20:40

/usr/share/games/openmw/data had read only permissions. I changed to read/write but I'm still getting the same error. That folder is empty.

lambda
Posts: 42
Joined: 11 Sep 2016, 17:10

Re: Crashing on startup in Arch Linux

Post by lambda » 04 Dec 2018, 17:26

Are you using the steam-native or the steam-runtime version (or whatever the version is called, the one that comes bundled with all the libs)?

williamnbc
Posts: 15
Joined: 03 Dec 2018, 05:44

Re: Crashing on startup in Arch Linux

Post by williamnbc » 04 Dec 2018, 17:57

You mean where did I get my morrowind.esm file for the openmw installer?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest