0
Besvaret

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

Denis Denisov 10 år siden opdateret 10 år siden 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!)

Svar

+1
Svar
Besvaret
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!
GOD, JEG ER TILFREDS
Thanks a lot!!! :) I was thinking I have a destructive mindset :D)
Tilfredshedsangivelse af Denis Denisov 10 år siden
+1
Under vurdering
My bad! :) 
I'll add a setting to change app server's uid ASAP
+1
Svar
Besvaret
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!

Kundesupport af UserEcho