-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
- In version 2.x of this image we had
rootas the default user - Quickly we realized that it's not good (drush and composer don't like to be run from root) and changed it to
www-data. Userwww-data(uid/gid 82) is a de-facto standard in Alpine Linux for php-fpm, nginx, apache packages, something similar towww-datain Debian/Ubuntu - PR Make APP_ROOT chown optional #18 was posted making a good point that fpm and HTTP server shouldn't have write access to user's files (codebase), as the result we changed fpm user to
php-fpm(1000) in 3.5.0 - Now, we realized that the way we use
www-datais completely wrong, it's a standard system user that comes with a "package" similar towww-datain Debian/Ubuntu that should be used only to run a package daemon, so it's not a usual Linux user and should not be used to log in and manage files - Based on 4 we decided to release 4.x version of stack where we add a new default user
wodbywith uid/gid1000to match user in most Linux distributions. PHP-FPM will run via sudo with FPM user/group set towww-data(82). Userwodbywill be a part ofwww-datagroup.
Feb 16th UPDATED: wodby added to www-data group
pothi
Metadata
Metadata
Assignees
Labels
No labels