0
Beantwoord

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

Denis Denisov 6 jaar geleden bijgewerkt 6 jaar geleden 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!)

Antwoord

+1
Antwoord
Beantwoord
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!
GOED, IK BEN TEVREDEN
Thanks a lot!!! :) I was thinking I have a destructive mindset :D)
Satisfaction mark by Denis Denisov 6 jaar geleden
+1
Under review
My bad! :) 
I'll add a setting to change app server's uid ASAP
+1
Antwoord
Beantwoord
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!