Re: Starting 9/15 new error - stat of /var/log/clamav/clamd.log failed

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



On Fri, Sep 21, 2018 at 16:48:14 -0500, David C. Rankin wrote:
> On 09/21/2018 02:17 AM, Andy Pieters wrote:
> >>   But the file is there:
> >>
> >> $ l /var/log/clamav/clamd.log
> >> -rw-r--r-- 1 clamav clamav 0 Aug 30  2015 /var/log/clamav/clamd.log
> >>
> >>
> > Could be a permissions issue. If a user cannot access /example/ then
> > it cannot see if /example/test exists and will give a no such file or
> > directory error.
> 
> Well, that what I was investigating, but the log is world readable, so that
> can't be the case -- and the only permissions needed to stat a file is read
> permission.

So *all* the parent directories (/var, /var/log, and /var/log/clamav)
are world-readable?

The permissions on /var/log/clamav/clamd.log don't really matter - it
could have permissions 0000 ({read,writ,execut}able by nobody), and one
could still stat it correctly.

Best,
--Tinu

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux