YunoHost-Apps / zerobin_ynh

PrivateBin package for YunoHost
https://privatebin.info
GNU General Public License v3.0
11 stars 12 forks source link

Do not use www-data #17

Closed julienmalik closed 7 years ago

julienmalik commented 7 years ago

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.

JimboJoe commented 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")?

magikcypress commented 7 years ago

After a discussion, we can not currently create a user for each application. Because some helpers are not present in production.

magikcypress commented 7 years ago

Add user for this app with a good helper PR #16

frju365 commented 7 years ago

apparently solved with the https://github.com/YunoHost-Apps/zerobin_ynh/pull/16. So, I close this issue.