0
Respost

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

Denis Denisov fa 10 anys actualitzat fa 10 anys 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!)

Answer

+1
Answer
Respost
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!
GOOD, I'M SATISFIED
Thanks a lot!!! :) I was thinking I have a destructive mindset :D)
Satisfaction mark by Denis Denisov fa 10 anys
+1
Under review
My bad! :) 
I'll add a setting to change app server's uid ASAP
+1
Answer
Respost
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!