0
Z odpowiedzią

Question: Django User Group not changed from root to 'username'

Denis Denisov 10 lat temu zaktualizowano 10 lat temu 3
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!)

Odpowiedź

+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!
DOBRZE, JESTEM ZADOWOLONY.
Thanks a lot!!! :) I was thinking I have a destructive mindset :D)
Znak zadowolenia przez Denis Denisov 10 lat temu
+1
W trakcie analizy
My bad! :) 
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!