Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

What is the recommended user, group and directory permissions for the webroot directory?
Let say I have the below directory structure,
/var/www/
/website-1/htm/
index.html
/website-2/html/
index.html
Currently, I have
drwxr-xr-x 7 root root 4096 Jun 23 14:52 www
drwxr-xr-x 3 root root 4096 Jun 13 04:47 website-1
drwxr-xr-x 3 root root 4096 Jun 23 14:52 website-2
drwxrwxr-x 3 myuser myuser 4096 Aug 8 07:10 html
As you can see, the html folder is owned by my current user and group. I know this is not correct. I’ve read that it should be www-data but again others I’ve read also are using root and even user accounts.
What would be the “best” recommended user:group and permission?
WildcatMedia
jeffs
0621335d663b4b699a60eb27e28153
accesstrax
Dwight Trumbower
admin
yimprogramming
samunyi90
1d6ce141ab5444dfb1ea2dd29cf4b1
Matt Fricker
joel9b158e40551b15093f213f