[Slackbuilds-users] Permissions on rc.postfix

Robby Workman rworkman at slackbuilds.org
Fri May 15 13:33:23 UTC 2015

On Fri, 15 May 2015 13:37:14 +0700
Willy Sudiarto Raharjo <willysr at slackbuilds.org> wrote:

> > When I install Postfix using the SlackBuild script from SBo,
> > rc.postfix is executable (0755) right after the installation.
> > 
> > Shouldn't a more sensible default configuration set
> > /etc/rc.d/rc.postfix to 0644 post-install?
> Fixed on my branch

A better fix, IMHO, would be to use the preserve_perms() function
in doinst.sh to keep whatever permissions are on the existing file
on the installed system (if one is there). Otherwise, it doesn't
matter what perms on rc.postfix, as it's not executed by any other
script on a default system.


More information about the SlackBuilds-users mailing list