Replace as follows: root
chown -R www-data:jsmithstats/ chown: invalid group: `www-data:jsmith'
I made sure jsmith is in / etc / groups and I also checked this as a check:
groups jsmith jsmith: users sudo www-data
this is on ubuntu
groups lists the groups to which the user belongs, not the group. If a jsmith group jsmith , it will be in / etc / groups. I guess you probably wanted:
groups
jsmith
chown -R jsmith:www-data stats/
Source: https://habr.com/ru/post/922902/More articles:How to remove the bottom panel in inno setup..and replace it with the user panel - installerBash Subtraction - bashIs there a "given" data structure in bash? - setHow can I refuse BASIC or FORM authentication when SPNEGO cannot be used for the client? - javaquartile search - c ++How to check which filter is applied - c #ExtJs Inheritance Inheritance - javascriptLinux Backs up MySQL to a temporary path from Webmin - mysqlValue Value in the Property Grid - Silverlight 5 - data-bindingPHP function - hash_pbkdf2 - securityAll Articles