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

If $HOME/.local/bin does not exist, distrobox-export fails within a root container. #1405

Closed
TheRsKing opened this issue May 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@TheRsKing
Copy link
Contributor

Describe the bug
if $HOME/.local/bin does not exist and you run distrobox-export inside a root container it fails with /usr/bin/distrobox-export: line 213: /home/user/.local/bin/distrobox_sudo_askpass: No such file or directory

To Reproduce

  • delete the bin folder under .local
  • execute distrobox-export within a root container

Expected behavior
successful execution of distrobox-export

Desktop:

  • distrobox version: 1.7.2.1
  • openSUSE Aeon RC2
  • distrobox preinstalled

Additional context
it should be checked whether the bin folder exists before the real command is executed

@TheRsKing TheRsKing added the bug Something isn't working label May 22, 2024
@BamsTheSergal
Copy link

interesting how to requires it but doesnt require anything in that location. and i am still getting this issue as of 6/17/2024

@89luca89
Copy link
Owner

Fixed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants