Hello,
I've seen a number of threads between here and reddit that are over-complicating launch troubleshooting when using the steam snap on ubuntu. This is a misunderstanding of snaps. Since the migration away from unconfined snaps, they are now namespaced for security reasons. This means that without interface request, r/w permissions are (intentionally) very limited per-snap.
The error you're seeing on initial launch (unable to create $HOME/.factorio or .lock) are a result of this.
The simplest way to work around w/o poking launch options is to just create a symlink to somewhere the steam snap can write.
# make the save dir in the snap common. This will persist through snap refreshes. DO NOT put it in current, as this is a sym link to the latest revision
$ sudo mkdir /var/snap/steam/common/.factorio
# Since you're probably not launching steam as root, add your user to a shared group and give the group write, or (more lazily) just a+w the folder
$ sudo chmod a+w /var/snap/steam/common/.factorio
# Create the sym link in your home dir
$ ln -s /var/snap/steam/common/.factorio/ ~/.factorio
Launch should just work with no extra requirements now.
I'd really encourage you to use the snap of steam over the deb. It's the only way to stay on the edge, and the compatibility using cores is always going to be superious to debian packages (for specifically the steam snap).
Cheers.
How to: Launch using the steam snap on Ubuntu
Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
-
- Manual Inserter
- Posts: 1
- Joined: Sat Oct 28, 2023 9:09 pm
- Contact:
Jump to
- General
- ↳ Releases
- ↳ News
- ↳ General discussion
- ↳ Multiplayer
- ↳ Find Servers / Tools / Guides
- ↳ Show your Creations
- ↳ Videos
- ↳ Combinator Creations
- ↳ Mechanical Throughput Magic (circuit-free)
- ↳ Railway Setups
- ↳ Energy Production
- ↳ Medium/Big/Gigantic Sized Structures
- ↳ Fan Art
- ↳ Gameplay Help
- ↳ Spread the Word
- ↳ Off topic
- ↳ This Forum
- ↳ Celebration Party
- Support
- ↳ Gameplay Help
- ↳ Discover Factorio Wiki
- ↳ Discover Others Creations
- ↳ Discover Mods
- ↳ Discover Tools Around Factorio
- ↳ Technical Help
- ↳ Bug Reports
- ↳ Resolved for the next release
- ↳ Assigned
- ↳ Not a bug
- ↳ Pending
- ↳ 1 / 0 magic
- ↳ Duplicates
- ↳ Minor issues
- ↳ Desyncs with mods
- ↳ Won't fix.
- ↳ Resolved Problems and Bugs
- Factorio Direction
- ↳ Ideas and Suggestions
- ↳ Outdated/Not implemented
- ↳ Frequently Suggested / Link Collections
- ↳ Implemented Suggestions
- ↳ Development Proposals
- ↳ Balancing
- Contributions
- ↳ Mods
- ↳ Download mods
- ↳ Mod portal Discussion
- ↳ Mods
- ↳ Mod Packs / Libs / Special Interest
- ↳ 5dim's mod
- ↳ Angels Mods
- ↳ Atomic Power
- ↳ Bob's mods
- ↳ DyWorld
- ↳ F.A.R.L
- ↳ Fentus Challenge & Tool Mods
- ↳ Logistic Train Network
- ↳ MoMods
- ↳ Reika's Mods
- ↳ Resource Spawner Overhaul
- ↳ Yuoki Industries
- ↳ PyMods
- ↳ Questions, reviews and ratings
- ↳ Modding Discussions
- ↳ Modding discussion
- ↳ Modding help
- ↳ Ideas and Requests For Mods
- ↳ Modding interface requests
- ↳ Implemented mod requests
- ↳ Already exists
- ↳ Won't implement
- ↳ Documentation Improvement Requests
- ↳ Resolved Requests
- ↳ Development tools
- ↳ Tools
- ↳ Mod and installation managers
- ↳ Cheatsheets / Calculators / Viewers
- ↳ Development tools
- ↳ Special interest mods and libraries
- ↳ Modding Development
- ↳ Multiplayer / Dedicated Server
- ↳ Multiplayer Board
- ↳ Archive
- ↳ Maps and Scenarios
- ↳ Translations
- ↳ Texture Packs
- ↳ Fan Art
- ↳ Wiki Talk
- ↳ To be sorted
- ↳ Campaign / Scenario suggestions