runt1me / stormcloud

the best backup system
2 stars 0 forks source link

Creating New Customers from new_customer_utils runs as root, ownership needs to be www-data #37

Open runt1me opened 1 year ago

runt1me commented 1 year ago

When creating new customers, we need a way to run the code as www-data, or else we need some kind of wrapper script to change the ownership of the directory to www-data, because otherwise, the key will be written with root permissions, and then when the WSGI daemon tries to access it in the future, it will get denied permission because it is running as www-data.

Estimated story points: 2