permissions problem on startup

Julian Field MailScanner at
Sun Feb 5 13:35:53 GMT 2006

John Jolet wrote:
> On Feb 5, 2006, at 7:02 AM, Julian Field wrote:
>> John Jolet wrote:
>>> I'm having a problem that I saw in the archives someone else having, 
>>> but I couldn't find a solution.  Running on gentoo with postfix.  If 
>>> I set the Run As user to postfix, I get: Cannot open config file 
>>> /opt/MailScanner/etc/MailScanner.conf, Permission denied at 
>>> /opt/MailScanner/lib/MailScanner/ line 597.
>> If this is not a permissions problem on the file, then it is a 
>> problem with the perms of the dir or one of its parents. Don't forget 
>> that the postfix user has to be to navigate down to the file, as well 
>> as just read the file. Ensure you have r-x on the directories.
> yeah, I thought of that.  If I give postfix a shell, su - postfix I 
> can view the file just fine.  It appeared to me when I looked at that 
> module that it was mostly concerned with ldap servers.  was I 
> incorrect?  I don't have any, and that portion of the config file is 
> commented out.  just grasping at straws at this point. 

I would not advise you try to work out how the configuration compiler 
works, it's pretty complex. :-)

If you do su - postfix then cd / then cd down each dir to the file's 
location, does that all work at every step?

Julian Field
Buy the MailScanner book at
Professional Support Services at
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list