Am 21.11.2011 21:16, schrieb Anne Wilson:
[...]
>>>
>>> You mean
>>>
>>> ls -l /var/log/clamav/freshclam.log
>>> -rw-r--r--+ 1 clamav clamav 0 Nov 13 03:34 /var/log/clamav/freshclam.log
>>> ?
>>
>> Not entirely. Check ACL (getfacl or similar program). The + sign
>> indicates that there is an aditional ACL set for this file. At least my
>> log files does not have extra ACLs set.
>>
> If this means what I think it means, it explains the problem -
>
> getfacl /var/log/clamav/freshclam.log
> getfacl: Removing leading '/' from absolute path names
> # file: var/log/clamav/freshclam.log
> # owner: clamav
> # group: clamav
> user::rw-
> user:anne:rwx #effective:r--
> group::rw- #effective:r--
> mask::r--
> other::r--
As the mask is set to read-only all extra users and groups are set to
read only as well. The owner should be able to write to the file.
>
>> Try to remove the file as well (or move it to another place).
>>
> If it's running as anne, is there any reason why the logfile can't be in anne's
> tree?
Sorry I don't know what you mean by this. Which tree?
>
>> and run 'lsof | grep freshclam' to see if any other program is locking
>> the file.
>>
> Nothing there.
So it is only a permission problem. clean all ACLs from the log file and
all should be OK (setfacl -b).
Martin
>
> Anne
> _______________________________________________
> kde mailing list
> kde@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/kde
> New to KDE4? - get help from http://userbase.kde.org
_______________________________________________
kde mailing list
kde@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kde
New to KDE4? - get help from http://userbase.kde.org
[Older Fedora Users Mail]
[Fedora Advisory Board]
[Fedora Security]
[Fedora Maintainers]
[Fedora Devel Java]
[Fedora Legacy]
[Fedora Desktop]
[ATA RAID]
[Fedora Marketing]
[Fedora Mentors]
[Fedora Package Announce]
[Fedora Package Review]
[Fedora Music]
[Fedora Packaging]
[Centos]
[Fedora SELinux]
[Fedora Triage]
[Deep Creek Hot Springs]
[Coolkey]
[Yum Users]
[Tux]
[Big List of Linux Books]
[Yosemite News]
[Yosemite Photos]
[Linux Apps]
[KDE Users]
[Fedora Tools]
[Fedora Art]
[Fedora Docs]
[Asterisk PBX]