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

isolate home directory #1470

Closed
boredsquirrel opened this issue Mar 13, 2024 · 4 comments
Closed

isolate home directory #1470

boredsquirrel opened this issue Mar 13, 2024 · 4 comments
Labels
1. Feature request A request for a new feature

Comments

@boredsquirrel
Copy link

Is your feature request related to a problem? Please describe.
Toolbox images, no matter the OS, will use the same home directory as the host OS.

The home dir is writable even on atomic Fedora, and will stay like that forever, especially the XDG directories like ~/.config or ~/.local/share

This is extremely problematic when running the same application but with different versions, as those configs will be distro-dependent and version dependent.

Distrobox has the ability to create a box using a separate home dir, this is not sandboxed but it will simply make all apps save their configs in there, which is crucial.

Describe the solution you'd like
Use a separate homedir by default, in ~/.toolbx-home or similar. Sharing a homedir can seriously mess up a user profile.

Also add the ability to define it, but this is optional really.

Describe alternatives you've considered
Using Distrobox

@boredsquirrel boredsquirrel added the 1. Feature request A request for a new feature label Mar 13, 2024
@debarshiray
Copy link
Member

Duplicate of #183

@debarshiray debarshiray marked this as a duplicate of #183 Mar 14, 2024
@debarshiray
Copy link
Member

You can use a mix of /run/.containerenv and /run/.toolboxenv to override the HOME environment variable on your own, no?

Some people want to do this because they don't trust their development environment. That's understandable but a development environment also needs things like private SSH keys. This is one of the reasons it's not that easy to make this work properly.

@debarshiray
Copy link
Member

I am going to close this issue so that the list of open issues doesn't balloon out of control, and continues to roughly reflect the items that are on the current to-do list. However, it will still be around for future reference.

@debarshiray
Copy link
Member

Thanks for your interest in Toolbx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Feature request A request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants