permissions problem on startup
MailScanner at ecs.soton.ac.uk
Sun Feb 5 13:02:58 GMT 2006
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/Config.pm 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.
> now, that poster said he made it work by giving postfix user a shell,
> but that doesn't seem to work for me. if I start it as root, it
> works, but then postfix would need to run as root. postfix:postfix
> owns MailScanner.conf, and it can be read by postfix.... the
> mailscanner program opens it like 10 times, then switches uid and gid
> to postfix, and then can't open it. or says it can't. what's going
> on here?
> --MailScanner mailing list
> mailscanner at lists.mailscanner.info
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
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