[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unexpected permission denied



Yassine Chaouche (12023-01-25):
> I prefer to use namei -l.

namei is good indeed.

> root@cloud[10.10.10.84/24] 15:15:43 ~ # namei -l /var/www/nextcloud/3rdparty/autoload.php

For the current problem:

sudo -u www-data namei /var/www/nextcloud/3rdparty/autoload.php

… will cause the command to be executed in an environment closer to the
one that causes the problem, and therefore is more likely to reveal it.
Use any command of your choice instead of sudo of course.

Regards,

-- 
  Nicolas George


Reply to: