89luca89 / 89luca89/distrobox

[Suggestion] init_hooks run as user

Ouverte
#2,170 0 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Go
Étoiles
13k
Forks
541
Merge moyen
20 h 47 min
PR mergées (30 j)
4

Description

**Is your feature request related to a problem? Please describe.**
I'm always frustrated when I have to run `su $USER -- cmd` in init_hooks in distrobox assemble

**Describe the solution you'd like**
Obviously a conventional way to execute init_hooks as the distrobox's user in the container obviously through distrobox-init

**Describe alternatives you've considered**
As mentioned `su $USER -- cmd` in init hook but it's kinda depend on weird behavior like the `$USER` variable expanding in v1 but I remember most of the variable expansion doesn't on the v2 distrobox.ini file

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.