Clamd permission error

Martin Hepworth maxsec at gmail.com
Fri Nov 18 18:15:02 GMT 2011


Steve
Double check nothing has altered any of the permissions further up the tree
and the clamd user can access the files

Martin

On Friday, 18 November 2011, Steve Campbell <campbell at cnpapers.com> wrote:
> I'm pretty certain I looked through there. The settings are spread out
all across the config file, so I might have missed one (or four). I just
don't understand why I'm seeing this now (just one email) without having
changed anything.
>
> Thanks for all the help from everyone.
>
> steve
>
> On 11/18/2011 11:07 AM, Martin Hepworth wrote:
>
> yes you need to look carefully at the mailscanner.conf settings for
permssions etc. Theres good documentation in the file about running clamdd
and the things you need to setup
> --
> Martin Hepworth
> Oxford, UK
>
>
> On 18 November 2011 14:53, Milenko Letic <mikoletic at gmail.com> wrote:
>>
>> this is mod in my MailScanner.conf :
>> Incoming Work Permissions = 0644
>> maybe , maybe not help, but wish you luck
>> On Fri, Nov 18, 2011 at 3:43 PM, Steve Campbell <campbell at cnpapers.com>
wrote:
>>>
>>> I'm getting the following error in my logs:
>>>
>>> Clamd::ERROR:: lstat() failed: Permission denied. ERRORClamd::ERROR::
lstat() failed: Permission denied......
>>>
>>> Looking back, I found a thread suggesting I should switch to the
internal tnef expander, which I am trying now, and to ensure the "incoming"
directory is accessible by the clam user (clamav). I've followed the
suggestions in the MailScanner.conf file for the situation I am running
under. The temp folders under the incoming directory, along with the
incoming folder itself, where the winmail.dat is expanded IS owned by
clamav.
>>>
>>> So I'm wondering if the 0640 mod on the folders is the proper mod.
Should there be any sticky bits or anything set?
>>>
>>> Just curious, since this seems to be the first time I've run into this
and I've been using MS for years.
>>>
>>> steve campbell
>>>
>>> --
>>> MailScanner mailing list
>>> mailscanner at lists.mailscanner.info
>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>
>>> Before posting, read http://wiki.mailscanner.info/posting
>>>
>>> Support MailScanner development - buy the book off the website!
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>
>
>
>

-- 
-- 
Martin Hepworth
Oxford, UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20111118/ce4f3f9a/attachment.html


More information about the MailScanner mailing list