forked from pool/aaa_base
This commit is contained in:
committed by
Git OBS Bridge
parent
b9d19c88c9
commit
d8883dccd6
@@ -255,52 +255,6 @@ EOT
|
||||
chmod 744 usr/sbin/userdel.local
|
||||
fi
|
||||
|
||||
##
|
||||
## generate permissions.local
|
||||
##
|
||||
for suffix in rpmorig rpmsave ; do
|
||||
if test -e etc/permissions.local.$suffix -a ! -e etc/permissions.local ; then
|
||||
mv etc/permissions.local.$suffix etc/permissions.local
|
||||
fi
|
||||
done
|
||||
if test ! -e etc/permissions.local ; then
|
||||
cat << EOT > etc/permissions.local
|
||||
#
|
||||
# /etc/permissions.local
|
||||
#
|
||||
# Description: Roman Drahtmueller <draht@suse.de>, 2001
|
||||
#
|
||||
# This file is used by SuSEconfig and chkstat to check or set the modes
|
||||
# and ownerships of files and directories in the installation.
|
||||
#
|
||||
# In particular, this file will not be touched during an upgrade of the
|
||||
# SuSE Linux installation. It is designed to be a placeholder for local
|
||||
# additions by the administrator of the system to reflect filemodes
|
||||
# of locally installed packages (usually under /opt/local or /usr/local).
|
||||
#
|
||||
# Format:
|
||||
# <file> <owner>.<group> <permission>
|
||||
#
|
||||
# Please see the file /etc/permissions for general usage hints of the
|
||||
# /etc/permissions* files.
|
||||
# Keep in mind that this file (/etc/permissions.local) is being used by
|
||||
# default by SuSEconfig, the shell script that is used by yast and yast2
|
||||
# after package installation and configuration changes to make the changes
|
||||
# effective for the respective packages (eg generating the "real"
|
||||
# configuration files).
|
||||
# Always check if there are no conflicts between your \"local\" changes here
|
||||
# and the settings in the other permissions files by calling
|
||||
# \"SuSEconfig\" as root!
|
||||
# Please remember that logfiles might be modified by the logfile
|
||||
# rotation facilities (e.g. logrotate) so local settings might
|
||||
# be overridden.
|
||||
# This file should really end with a newline.
|
||||
#
|
||||
# example:
|
||||
#/usr/local/bin/mtr root.root 4755
|
||||
EOT
|
||||
chmod 644 etc/permissions.local
|
||||
fi
|
||||
#
|
||||
# Now do the ugly part. Delete mess from former times...
|
||||
#
|
||||
|
Reference in New Issue
Block a user