I am trying to Create a permission set for my nginx Web Application as below;
OS: ubuntu nginx User: www-data
www-data user's primary group: manage
# su www-data -
$ groups
manage
Path to Webroot: /var/www/html/website website's permission: [740] I even try giving it [770]
ls -ltr /var/www/html
drwxrwx--- 15 admin manage 4096 May 8 21:01 website
when I browse my application: it says;
I want my user 'admin' has Read / Write / Execute permissions on Webroot, while webuser (www-data) does not have write or execute.
namei -mo /var/www/html/manage
.