Need Help setting a different home directory using distrobox

I have created a folder in home named distro with 1000:1000 perms but it fails to start Error: unable to start container "88a57a0d55907dd3a39138a9ca414243b779f14ffa18cddb76e5bc7eb741469f": crun: cannot stat /proc/self/fd/309: Permission denied: OCI permission denied
24 Replies
termdisc
termdisc6d ago
what is your creation command?
Oppai Lover
Oppai LoverOP6d ago
For distrobox or folder? For distrobox I am using boxbuddy GUI
Oppai Lover
Oppai LoverOP6d ago
Here is the folder
No description
Oppai Lover
Oppai LoverOP6d ago
No description
Kyle Gospo
Kyle Gospo6d ago
Whitelist the folder in flatseal for boxbuddy That path isn't real
Oppai Lover
Oppai LoverOP6d ago
What do you mean that path isnt real? Does that mean I have to manually type the path instead of selecting on the GUI?
Kyle Gospo
Kyle Gospo6d ago
Not if you whitelist that folder in flatseal for boxbuddy
Oppai Lover
Oppai LoverOP6d ago
Ok ill try that, thank you for your time!
Oppai Lover
Oppai LoverOP6d ago
Ok so I fixed it but want to understand something Why was it doing that weird path instead of the /var one that works?
No description
Oppai Lover
Oppai LoverOP6d ago
also I deleted the run user after this screenshot
Kyle Gospo
Kyle Gospo6d ago
Wrong path
Oppai Lover
Oppai LoverOP6d ago
No description
Oppai Lover
Oppai LoverOP6d ago
this is what I got
termdisc
termdisc6d ago
you made a folder for /home/Distrobox?
Kyle Gospo
Kyle Gospo6d ago
Then you have to give that folder ownership to your user Better to just do
termdisc
termdisc6d ago
I would put that inside /home/USER/ instead
Kyle Gospo
Kyle Gospo6d ago
/var/home/youruser/distrobox
termdisc
termdisc6d ago
i.e., /home/USER/Distrobox
Oppai Lover
Oppai LoverOP6d ago
Yea well I forgot to say that /var/home/Distrobox was the solution so Im good just confused why the gui outputs that weird path. Also I wanted to completely separate it from my home
termdisc
termdisc6d ago
because you're outside of the permissible folders
Oppai Lover
Oppai LoverOP6d ago
Ah So its like a error
Kyle Gospo
Kyle Gospo6d ago
Because it's a flatpak and that folder is not whitelisted by default No it's functioning as intended The error is your choice of folder
termdisc
termdisc6d ago
BoxBuddy's permissions are set to /home/youruser. This means that /home/otheruser is outside of it
Oppai Lover
Oppai LoverOP6d ago
Alright maybe Ill move it back if you think that will cause problems down the line. Thanks for the help with all of this. Thank you as well!

Did you find this page helpful?