permission problems

Julian Field mailscanner at ecs.soton.ac.uk
Tue Jul 29 13:58:43 IST 2003


At 12:42 29/07/2003, you wrote:
>I run MailScanner as user and group mail for security reasons. But the
>installation requires me to run install.sh as root.
>
>This creates all files as root. So I have to change all ownerships back
>to mail after installation. That I can understand.
>
>But the installation also changes the ownership of /var/spool/mqueue.in.
>Even when the ownership was correct (mail.mail). That is a problem
>because when I forget to change this no e-mail is accepted.
>
>The strange part is that the installation doesn't change
>/var/spool/MailScanner nor /var/spool/mqueue. Can't the script be
>changed as to leave the ownerships of files intact or to use the old
>owner when overwriting a file?

I'll take a look at this. The difficult bit is making sure it creates it
the first time correctly, that's a problem I have with the current code for
creating /var/spool/MailScanner.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list