This is not a change in behavior from previous versions, as previous
Ubuntu versions did not set permissions as www-data:www-data for
/var/www/*

It was confirmed by Marc Deslauriers (https://launchpad.net/~mdeslaur)
today that in 14.04 and 15.10, Apache creates /var/www/* with root:root.
It was also confirmed by Marc that in 15.10, nginx creates /var/www/* as
root:root as well.  (In 14.04, NGINX used a different docroot, and that
functionality was changed to be /var/www/* in later versions).

I have also confirmed this behavior.  This is not a bug nor a change in
how things operate.  Given that these folders are created automatically
by the package manager, it makes sense these are created as root:root.

As well, the folders are *not* "root only accessible" - the permissions
are 755 on those folders in both 14.04 and 15.10.

As is, this is not a bug, so I am marking this as "Invalid".  (You are
free to execute chmod commands and chown commands to modify this on your
own system)

** Changed in: nginx (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1573928

Title:
  nginx on xenial sets ownership for web-folder to root:root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1573928/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to