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]



Hi David,

> > > -rw-r--r-- 1 clamav clamav 0 Aug 30  2015 /var/log/clamav/clamd.log
...
> and the only permissions needed to stat a file is read permission.

The permissions of clamd.log are ignored when stat(2)ing it.  One can
stat a `chmod 0' file.  What matters is execute permission on the four
directories leading to it.

Also, don't trust the error message if it seems incorrect.  Track down
the cron job and edit it to use strace(1) to learn what system calls
fail and how.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



[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