mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-23 13:11:36 +01:00
Correct some permission problems
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4176 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
566671df34
commit
6b422f7352
@ -3,6 +3,8 @@ Changes in 3.2.0 RC 5
|
|||||||
1) Correct generation of the balanced default route.
|
1) Correct generation of the balanced default route.
|
||||||
|
|
||||||
2) Allow 'detect' in the ADDRESS column of the masq file.
|
2) Allow 'detect' in the ADDRESS column of the masq file.
|
||||||
|
|
||||||
|
3) Correct some permission problems.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Changes in 3.2.0 RC 5
|
Changes in 3.2.0 RC 5
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ echo "Help command executor installed in ${PREFIX}/usr/share/shorewall/help"
|
|||||||
#
|
#
|
||||||
# Install the policy file
|
# Install the policy file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 policy ${PREFIX}/usr/share/shorewall/configfiles/policy
|
run_install $OWNERSHIP -m 0644 policy ${PREFIX}/usr/share/shorewall/configfiles/policy
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/policy ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/policy ]; then
|
||||||
run_install $OWNERSHIP -m 0600 policy ${PREFIX}/etc/shorewall/policy
|
run_install $OWNERSHIP -m 0600 policy ${PREFIX}/etc/shorewall/policy
|
||||||
@ -314,7 +314,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the interfaces file
|
# Install the interfaces file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 interfaces ${PREFIX}/usr/share/shorewall/configfiles/interfaces
|
run_install $OWNERSHIP -m 0644 interfaces ${PREFIX}/usr/share/shorewall/configfiles/interfaces
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/interfaces ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/interfaces ]; then
|
||||||
run_install $OWNERSHIP -m 0600 interfaces ${PREFIX}/etc/shorewall/interfaces
|
run_install $OWNERSHIP -m 0600 interfaces ${PREFIX}/etc/shorewall/interfaces
|
||||||
@ -323,7 +323,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the ipsec file
|
# Install the ipsec file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 ipsec ${PREFIX}/usr/share/shorewall/configfiles/ipsec
|
run_install $OWNERSHIP -m 0644 ipsec ${PREFIX}/usr/share/shorewall/configfiles/ipsec
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/ipsec ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/ipsec ]; then
|
||||||
run_install $OWNERSHIP -m 0600 ipsec ${PREFIX}/etc/shorewall/ipsec
|
run_install $OWNERSHIP -m 0600 ipsec ${PREFIX}/etc/shorewall/ipsec
|
||||||
@ -372,7 +372,7 @@ fi
|
|||||||
run_install $OWNERSHIP -m 0644 params ${PREFIX}/usr/share/shorewall/configfiles/params
|
run_install $OWNERSHIP -m 0644 params ${PREFIX}/usr/share/shorewall/configfiles/params
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/params ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/params ]; then
|
||||||
run_install $OWNERSHIP -m 0600 params ${PREFIX}/etc/shorewall/params
|
run_install $OWNERSHIP -m 0644 params ${PREFIX}/etc/shorewall/params
|
||||||
echo "Parameter file installed as ${PREFIX}/etc/shorewall/params"
|
echo "Parameter file installed as ${PREFIX}/etc/shorewall/params"
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
@ -524,7 +524,7 @@ echo "Default config path file installed as ${PREFIX}/usr/share/shorewall/config
|
|||||||
#
|
#
|
||||||
# Install the init file
|
# Install the init file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 init ${PREFIX}/usr/share/shorewall/configfiles/init
|
run_install $OWNERSHIP -m 0644 init ${PREFIX}/usr/share/shorewall/configfiles/init
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/init ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/init ]; then
|
||||||
run_install $OWNERSHIP -m 0600 init ${PREFIX}/etc/shorewall/init
|
run_install $OWNERSHIP -m 0600 init ${PREFIX}/etc/shorewall/init
|
||||||
@ -533,7 +533,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the initdone file
|
# Install the initdone file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 initdone ${PREFIX}/usr/share/shorewall/configfiles/initdone
|
run_install $OWNERSHIP -m 0644 initdone ${PREFIX}/usr/share/shorewall/configfiles/initdone
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/initdone ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/initdone ]; then
|
||||||
run_install $OWNERSHIP -m 0600 initdone ${PREFIX}/etc/shorewall/initdone
|
run_install $OWNERSHIP -m 0600 initdone ${PREFIX}/etc/shorewall/initdone
|
||||||
@ -542,7 +542,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the start file
|
# Install the start file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 start ${PREFIX}/usr/share/shorewall/configfiles/start
|
run_install $OWNERSHIP -m 0644 start ${PREFIX}/usr/share/shorewall/configfiles/start
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/start ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/start ]; then
|
||||||
run_install $OWNERSHIP -m 0600 start ${PREFIX}/etc/shorewall/start
|
run_install $OWNERSHIP -m 0600 start ${PREFIX}/etc/shorewall/start
|
||||||
@ -560,7 +560,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the stopped file
|
# Install the stopped file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 stopped ${PREFIX}/usr/share/shorewall/configfiles/stopped
|
run_install $OWNERSHIP -m 0644 stopped ${PREFIX}/usr/share/shorewall/configfiles/stopped
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/stopped ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/stopped ]; then
|
||||||
run_install $OWNERSHIP -m 0600 stopped ${PREFIX}/etc/shorewall/stopped
|
run_install $OWNERSHIP -m 0600 stopped ${PREFIX}/etc/shorewall/stopped
|
||||||
@ -569,7 +569,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the ECN file
|
# Install the ECN file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 ecn ${PREFIX}/usr/share/shorewall/configfiles/ecn
|
run_install $OWNERSHIP -m 0644 ecn ${PREFIX}/usr/share/shorewall/configfiles/ecn
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/ecn ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/ecn ]; then
|
||||||
run_install $OWNERSHIP -m 0600 ecn ${PREFIX}/etc/shorewall/ecn
|
run_install $OWNERSHIP -m 0600 ecn ${PREFIX}/etc/shorewall/ecn
|
||||||
@ -578,7 +578,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the Accounting file
|
# Install the Accounting file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 accounting ${PREFIX}/usr/share/shorewall/configfiles/accounting
|
run_install $OWNERSHIP -m 0644 accounting ${PREFIX}/usr/share/shorewall/configfiles/accounting
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/accounting ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/accounting ]; then
|
||||||
run_install $OWNERSHIP -m 0600 accounting ${PREFIX}/etc/shorewall/accounting
|
run_install $OWNERSHIP -m 0600 accounting ${PREFIX}/etc/shorewall/accounting
|
||||||
@ -587,7 +587,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the Continue file
|
# Install the Continue file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 continue ${PREFIX}/usr/share/shorewall/configfiles/continue
|
run_install $OWNERSHIP -m 0644 continue ${PREFIX}/usr/share/shorewall/configfiles/continue
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/continue ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/continue ]; then
|
||||||
run_install $OWNERSHIP -m 0600 continue ${PREFIX}/etc/shorewall/continue
|
run_install $OWNERSHIP -m 0600 continue ${PREFIX}/etc/shorewall/continue
|
||||||
@ -596,7 +596,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the Started file
|
# Install the Started file
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 started ${PREFIX}/usr/share/shorewall/configfiles/started
|
run_install $OWNERSHIP -m 0644 started ${PREFIX}/usr/share/shorewall/configfiles/started
|
||||||
|
|
||||||
if [ ! -f ${PREFIX}/etc/shorewall/started ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/started ]; then
|
||||||
run_install $OWNERSHIP -m 0600 started ${PREFIX}/etc/shorewall/started
|
run_install $OWNERSHIP -m 0600 started ${PREFIX}/etc/shorewall/started
|
||||||
@ -621,7 +621,7 @@ fi
|
|||||||
#
|
#
|
||||||
# Install the Makefile
|
# Install the Makefile
|
||||||
#
|
#
|
||||||
run_install $OWNERSHIP -m 0600 Makefile ${PREFIX}/usr/share/shorewall/configfiles/Makefile
|
run_install $OWNERSHIP -m 0644 Makefile ${PREFIX}/usr/share/shorewall/configfiles/Makefile
|
||||||
run_install $OWNERSHIP -m 0600 Makefile ${PREFIX}/etc/shorewall/Makefile
|
run_install $OWNERSHIP -m 0600 Makefile ${PREFIX}/etc/shorewall/Makefile
|
||||||
echo "Makefile installed as ${PREFIX}/etc/shorewall/Makefile"
|
echo "Makefile installed as ${PREFIX}/etc/shorewall/Makefile"
|
||||||
|
|
||||||
|
@ -36,6 +36,9 @@ Problems Corrected in 3.2.0 RC 6
|
|||||||
1) When 'balance' is specified in more than one provider, only the
|
1) When 'balance' is specified in more than one provider, only the
|
||||||
last such provider appears in the default route.
|
last such provider appears in the default route.
|
||||||
|
|
||||||
|
2) The permission settings of /etc/shorewall/params and of several
|
||||||
|
files in /usr/share/shorewall/configfiles were incorrect.
|
||||||
|
|
||||||
Other changes in 3.2.0 RC 6
|
Other changes in 3.2.0 RC 6
|
||||||
|
|
||||||
1) This change will be in 3.0.9 so I'm slipping it into this RC for
|
1) This change will be in 3.0.9 so I'm slipping it into this RC for
|
||||||
@ -53,9 +56,9 @@ Other changes in 3.2.0 RC 6
|
|||||||
Migration Considerations:
|
Migration Considerations:
|
||||||
|
|
||||||
1) If you are upgrading from Shorewall 2.x, it is essential that you read
|
1) If you are upgrading from Shorewall 2.x, it is essential that you read
|
||||||
the Shorewall 3.0.7 (or later) release notes:
|
the Shorewall 3.0.8 (or later) release notes:
|
||||||
|
|
||||||
http://www.shorewall.net/pub/shorewall/3.0/shorewall-3.0.7/releasenotes.txt
|
http://www.shorewall.net/pub/shorewall/3.0/shorewall-3.0.8/releasenotes.txt
|
||||||
|
|
||||||
2) A number of macros have been split into two. The macros affected are:
|
2) A number of macros have been split into two. The macros affected are:
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ fi
|
|||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/rules
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/rules
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/nat
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/nat
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/netmap
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/netmap
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/params
|
%attr(0644,root,root) %config(noreplace) /etc/shorewall/params
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/proxyarp
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/proxyarp
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/routestopped
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/routestopped
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/maclist
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/maclist
|
||||||
|
Loading…
Reference in New Issue
Block a user