aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--init-sh/lib.sh6
-rw-r--r--init-sh/perm.02
-rw-r--r--init-sh/perm.13
-rw-r--r--init-sh/perm.22
-rw-r--r--init-sh/perm.32
-rw-r--r--init-sh/perm.42
-rw-r--r--init-sh/perm.52
8 files changed, 12 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index cd9fe15..fcc79df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+1999-12-20 Yoann Vandoorselaere <yoann@mandrakesoft.com>
+ *init-sh/perm.[15]: /var/spool/mail is 755
+
1999-12-19 Pixel <pixel@mandrakesoft.com>
* init-sh/lib.sh: removed the failsafe for not a tty stdin (not
efficient)
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 0b1f35c..2ad821f 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -53,7 +53,7 @@ AddBegRules() {
}
-CleanRules() {
+OLD_CleanRules() {
file=$1
ctrl=0
@@ -87,7 +87,7 @@ CleanRules() {
echo "done."
}
-CleanRules2() {
+CleanRules() {
echo -en "\t- Cleaning msec appended line in $1 : "
perl -ni -e '$_ eq "$ENV{COMMENT}\n" ... // or print' $1
@@ -182,7 +182,7 @@ CommentUserRules /etc/hosts.allow
CleanRules /etc/securetty
CommentUserRules /etc/securetty
CleanRules /etc/security/msec/security.conf
-#CommentUserRules /etc/security/msec/security.conf
+CommentUserRules /etc/security/msec/security.conf
CleanRules /etc/profile
CleanRules /etc/lilo.conf
CleanRules /etc/rc.d/rc.firewall
diff --git a/init-sh/perm.0 b/init-sh/perm.0
index 0cae0d7..ab26d43 100644
--- a/init-sh/perm.0
+++ b/init-sh/perm.0
@@ -59,7 +59,7 @@
/var/log/* root.adm 644
/var/log/security/ root.root 700
/var/log/security/* root.root 600
-
+/var/spool/mail root.mail 775
diff --git a/init-sh/perm.1 b/init-sh/perm.1
index 8286023..732a5be 100644
--- a/init-sh/perm.1
+++ b/init-sh/perm.1
@@ -59,7 +59,6 @@
/var/log/* root.adm 644
/var/log/security/ root.root 700
/var/log/security/* root.root 600
-/var/spool/mail root.mail 1777
-
+/var/spool/mail root.mail 775
diff --git a/init-sh/perm.2 b/init-sh/perm.2
index 689e732..479c865 100644
--- a/init-sh/perm.2
+++ b/init-sh/perm.2
@@ -59,4 +59,4 @@
/var/log/* root.adm 640
/var/log/security root.root 700
/var/log/security/* root.root 600
-/var/spool/mail root.mail 1777
+/var/spool/mail root.mail 775 \ No newline at end of file
diff --git a/init-sh/perm.3 b/init-sh/perm.3
index aab758e..c9bcbe0 100644
--- a/init-sh/perm.3
+++ b/init-sh/perm.3
@@ -59,7 +59,7 @@
/var/log/* root.root 600
/var/log/security root.root 700
/var/log/security/* root.root 600
-
+/var/spool/mail root.mail 775
diff --git a/init-sh/perm.4 b/init-sh/perm.4
index 1962319..8ecdd95 100644
--- a/init-sh/perm.4
+++ b/init-sh/perm.4
@@ -60,4 +60,4 @@
/var/log/* root.root 600
/var/log/security root.root 700
/var/log/security/* root.root 600
-/var/spool/mail root.mail 755
+/var/spool/mail root.mail 775
diff --git a/init-sh/perm.5 b/init-sh/perm.5
index 139c958..1415e98 100644
--- a/init-sh/perm.5
+++ b/init-sh/perm.5
@@ -61,5 +61,5 @@
/var/log/* root.root 600
/var/log/security root.root 700
/var/log/security/* root.root 600
-/var/spool/mail root.mail 755
+/var/spool/mail root.mail 775