Closed julienmalik closed 7 years ago
@julienmalik Is that recommendation to apply to any YunoHost application, or are there specific criteria (you're stating "specifically because it needs write permission on the filesystem")?
After a discussion, we can not currently create a user for each application. Because some helpers are not present in production.
Add user for this app with a good helper PR #16
apparently solved with the https://github.com/YunoHost-Apps/zerobin_ynh/pull/16. So, I close this issue.
The app shall create a specific system user and not rely on www-data, specifically because it needs write permission on the filesystem. This implies declaring a specific php-fpm instance with this user, as is done with a lot of yunohost php apps now.