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

Mounts #13

Open
viperML opened this issue Dec 11, 2023 · 3 comments
Open

Mounts #13

viperML opened this issue Dec 11, 2023 · 3 comments

Comments

@viperML
Copy link
Owner

viperML commented Dec 11, 2023

Run the program under bwrap and expose mount options

@viperML
Copy link
Owner Author

viperML commented Jan 5, 2024

Usecase: expose ~/.config/mozilla to firefox as ~/.mozilla

@Henry-Hiles
Copy link

This would be great for me to configure vscode or firefox, good luck!

@viperML
Copy link
Owner Author

viperML commented Mar 30, 2024

One of my takeaways after having learnt namespaces after writing https://github.com/viperML/hover-rs :

  • You need to unshare the user namespace to use any other namespace
  • After unsharing the user namespace, you lose information about all other users and groups. This means all users and groups except the own, will show up as u16::max, 65535 (nouser)
  • The previous point may or may not have implications in the proper behaviour of the wrapped app
  • I could try to adapt hover-rs to be used by wrapper-manager, or write a thing from scratch

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

2 participants