89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
10.15k stars 419 forks source link

[Error] incorrect ownership for directories copied from /etc/skel #1612

Open befanyt opened 1 week ago

befanyt commented 1 week ago

Please, before opening a bug:

Describe the bug When you have a file instead of subdirectory of skel, eg /etc/skel/.config/foobar, the file itself (foobar) gets copied with correct ownership (1000:1000), but its parent folder (.config) is owned by root, meaning that other program's can't write to it.

To Reproduce Use any image which includes files in subdirectories of /etc/skel

Expected behavior The directory is owned by 1000:1000

Logs Run the commands with --verbose and post the log here as a file upload Attach also the output of podman logs or docker logs, possibly with --latest flag

Desktop (please complete the following information):

Additional context Seems that this issue occured earlier https://github.com/89luca89/distrobox/issues/1144 and got fixed, then got another implementation after https://github.com/89luca89/distrobox/issues/1317 and the same issue shows up again. distrobox.log