docker-magento
docker-magento copied to clipboard
Files changed in container get wrong user owner
Description
I`m using latest version of docker-magento in my notebook:
- Macbook Air M1 2020
- Archlinux AARCH64 running Docker
- Magento 2.4.5
- Files running isolated in Archlinux instance over UTM app
- Develop in VS Code Latest version accessing Archlinux over remote ssh.
Steps To Reproduce
- perform some commands as bin/magento s:upgrade ou bin/composer install/update
Expected Result Perform operations without user owner changes
Actual Result Some files get wrong user after running commands as bin/magento s:upgrade ou bin/composer install/update in some folders as app/etc or app/code. running bin/fixown or bin/fixperms dont fix because files get wrong user in host files. User wrong is "alarm" not "app" normal user inside instance.
Tagging with unable to replicate as I don't run Linux, but I'll keep this open for a bit to see if anyone else is having this issue.
@markshust I get the same issue on Ubuntu 22.04
@markshust @deniscass I managed to figure this out, it only happens in my case when I use Docker Desktop, after switching to Docker Engine everything works fine without wrong owner or permissions