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

Blender flatpak fills user's /run/user allocated space #122

Open
dpalais opened this issue Sep 1, 2022 · 0 comments
Open

Blender flatpak fills user's /run/user allocated space #122

dpalais opened this issue Sep 1, 2022 · 0 comments

Comments

@dpalais
Copy link

dpalais commented Sep 1, 2022

Blender autosave files shouldn't be saved to the user's /run folder as it's very restricted with regards to available space. Once it's filled other programs are likely to fail to start.

❯ du -sh /run/user/1000/.flatpak/org.blender.Blender/*
1.4G    /run/user/1000/.flatpak/org.blender.Blender/tmp
0       /run/user/1000/.flatpak/org.blender.Blender/xdg-run
❯ du -sh /run/user/1000/.flatpak/org.blender.Blender/tmp/*
548M    /run/user/1000/.flatpak/org.blender.Blender/tmp/2_autosave.blend
0       /run/user/1000/.flatpak/org.blender.Blender/tmp/blender_Tp9GnG
260K    /run/user/1000/.flatpak/org.blender.Blender/tmp/copybuffer_pose.blend
551M    /run/user/1000/.flatpak/org.blender.Blender/tmp/base_2_autosave.blend
294M    /run/user/1000/.flatpak/org.blender.Blender/tmp/base walk_2_autosave.blend
❯ df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           1.4G  1.4G  0M  100% /run/user/1000
StandingPadAnimations added a commit to StandingPadAnimations/flathub that referenced this issue Jul 2, 2023
As it stood, Bforartists had unrestricted access to the host system.
This is unacceptable, so now Bforartists only has access to home and
/tmp.

/tmp is needed for autosaves. It was found in
flathub/org.blender.Blender#122 that using
Flatpak's remapped tmp directory causes issues with other Flatpaks not
starting.
> Blender autosave files shouldn't be saved to the user's /run folder
> as it's very restricted with regards to available space. Once it's
> filled other programs are likely to fail to start.

Blend files get massive, especially for multiple autosaves, so access to
/tmp (which is cleared on reboot) is important
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant