Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update file ownership of grocy application files #86

Open
jayaddison opened this issue Apr 17, 2020 · 0 comments
Open

Update file ownership of grocy application files #86

jayaddison opened this issue Apr 17, 2020 · 0 comments

Comments

@jayaddison
Copy link
Contributor

At the moment when cloning grocy application code (PHP assets, web assets) into grocy-docker containers, extraction runs under the www-data and nginx user accounts respectively.

This means that the files are owned by the same user account that the web server (php-fpm, nginx, respectively) process runs as.

Although the root filesystems are read-only already, we could apply another layer of security by ensuring that the files are owned by a separate user account.

That could place a further roadblock against any potential application-level exploits from modifying and/or persisting in the containers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant