0
Z odpowiedzią
Question: Django User Group not changed from root to 'username'
Hi :)
After setting up everything under Debian 7, with help of the documentation was able to start up Django test server. Everything was setup using root account from the beginning.
When I got used to working with Ajenti panel, created a custom user 'test' for solo purpose - managing test site. While playing around found out that files uploaded via ftp were with www-data group (www-data/test: -rw-r--r-- 1 www-data test 166520 Jul 6 20:22 img_26278.jpg) and files uploaded via application (in django application upload media files) were added with root group (-rw-r--r-- 1 root test 166520 Jul 6 19:35 img_2dfs278jpg).
Probably my bad :) Any hints where to look or what could be the problem? Thank!)
After setting up everything under Debian 7, with help of the documentation was able to start up Django test server. Everything was setup using root account from the beginning.
When I got used to working with Ajenti panel, created a custom user 'test' for solo purpose - managing test site. While playing around found out that files uploaded via ftp were with www-data group (www-data/test: -rw-r--r-- 1 www-data test 166520 Jul 6 20:22 img_26278.jpg) and files uploaded via application (in django application upload media files) were added with root group (-rw-r--r-- 1 root test 166520 Jul 6 19:35 img_2dfs278jpg).
Probably my bad :) Any hints where to look or what could be the problem? Thank!)
Odpowiedź
+1
W trakcie analizy
My bad! :)
I'll add a setting to change app server's uid ASAP
I'll add a setting to change app server's uid ASAP
+1
Odpowiedź
Z odpowiedzią
Update released, the setting is under Content > ... > Python > User (it will be www-data by default now).
Don't forget to update all Ajenti V packages!
Don't forget to update all Ajenti V packages!
Customer support service by UserEcho
Don't forget to update all Ajenti V packages!