On Fri, Apr 28, 2023 at 07:06:17PM +0200, Maurizio Caloro wrote:
> Hello and thanks for so meny answer
> 
> f: /
> drwxr-xr-x root root /

[...]

> drwxr-x---  4 rancid rancid 4096 Apr 27 18:44 /var/lib/rancid/routers
> drwxr-x---  2 rancid rancid 4096 Apr 27 18:44
         ^^^
And here is your problem: the directory /var/lib/rancid/routers is
not readable and not traversable by www-data (only user rancid or
group rancid can).

I still miss the two last members of your long chain:
  /var/lib/rancid/routers/configs/c3560
What about configs? And c3560?

As a quick fix you could try
  chmod -R o+rX /var/lib/rancid/routers

This is a small "r" and a capital, i.e. big X. This
would make files readable and directories searchable
for "others" (and thus for www-data).

Of course, the best is you think hard and long about
what you want exactly to achieve :-)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to