[Slackbuilds-users] chmod 0644 of /etc/rc.d/rc.*.new in SlackBuild

Andrzej Telszewski atelszewski at gmail.com
Fri Aug 26 04:34:13 UTC 2016


Hi,

In the example file:
https://slackbuilds.org/slackbuilds/14.2/network/sshguard/sshguard.SlackBuild

there is:
chmod 0644 $PKG/etc/rc.d/rc.$PRGNAM.new

I would say it's not necessary, because probably for that exact reason 
(assuming the default mandatory umask of 022 when building a package) we 
are using 'cat', which will make the cat'ed file 0644 by default.

Is that correct?

-- 
Best regards,
Andrzej Telszewski


More information about the SlackBuilds-users mailing list