Find your user id and group id on MacOS
Find your user id and group id on MacOS
Devilbox maps the devilbox user inside containers to your macOS user.
Set NEW_UID and NEW_GID in .env.
Print your IDs
Open a terminal and run:
id -uid -gExample output:
50120Use the first number as NEW_UID; the second as NEW_GID.
Edit .env
Run:
cp -n env-example .envnano .envSet:
NEW_UID=501NEW_GID=20Restart:
./dvl.sh down./dvl.sh upVerify
./dvl.sh shellEnter PHP and check ownership:
idtouch /shared/httpd/uid-check.txtexitls -l data/www/uid-check.txtrm data/www/uid-check.txtThe file owner should match your macOS user. If not, recheck NEW_UID
and NEW_GID against id -u and id -g; then review
prerequisites.