Page 1 of 1

1.1.59 gives an error when i try to open the game: cannot create directory: permission denied(steam)(ubuntu)[solved]

Posted: Tue Jun 21, 2022 9:10 am
by pooyana
I just installed the game and when I click the play button from steam it gives the following error:

filesystem error: cannot create directory: permission denied [/home/pooya/.factorio]
path1: /home/pooya/.factorio

I tried to create the folder manually but it gave the same error but for creating the .lock file.
my os is Linux-ubuntu 22.04
edit: so I fixed my problem by uninstalling the snap version of steam and installing it via terminal with

Code: Select all

sudo apt-get install steam
if you have any games you don't want to download again you can back them up using steam itself

Re: 1.1.59 gives an error when i try to open the game: cannot create directory: permission denied(steam)(ubuntu)[solved]

Posted: Mon May 29, 2023 3:33 pm
by zerodx
i have this error on Ubuntu 23 with Steam installed from Ubuntu Software app
Image

Re: 1.1.59 gives an error when i try to open the game: cannot create directory: permission denied(steam)(ubuntu)[solved]

Posted: Mon Jun 12, 2023 10:04 am
by zerodx
anybody?

Re: 1.1.59 gives an error when i try to open the game: cannot create directory: permission denied(steam)(ubuntu)[solved]

Posted: Mon Jun 12, 2023 1:07 pm
by Bilka
Use the standalone Factorio version from factorio.com, or use a version of Steam that is not a snap (installed via apt?).

Another thread on a similar issue with some debugging steps: 105072

Re: 1.1.59 gives an error when i try to open the game: cannot create directory: permission denied(steam)(ubuntu)[solved]

Posted: Mon Jun 12, 2023 2:58 pm
by zerodx
Thanks a lot! Setting use-system-read-write-data-directories to false helps!

Re: 1.1.59 gives an error when i try to open the game: cannot create directory: permission denied(steam)(ubuntu)[solved]

Posted: Mon Oct 30, 2023 1:25 am
by czeimke
This "error" occurs when Steam is installed directly through the application center. This happens because Steam is installed as a Snap package and cannot access your home directory due to the permission structure. You can either give Steam permission to all files or simply download and install Steam as a .dep file from Steam itself.