aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--conf/perm.01
-rw-r--r--conf/perm.11
-rw-r--r--conf/perm.21
-rw-r--r--conf/perm.31
-rw-r--r--conf/perm.41
-rw-r--r--conf/perm.51
-rwxr-xr-xinit-sh/file_perm.sh4
-rw-r--r--msec.spec3
9 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index fcf6e4c..c0fc0a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
entry.
* updated perm.5
* Updated the doc.
+ * perm.[0-5] : /var/tmp : 1777
+ * file_perm.sh : output to /dev/null
2000-04-14 Yoann Vandoorselaere <yoann@mandrakesoft.com>
* Modify zprofile.
diff --git a/conf/perm.0 b/conf/perm.0
index 9ade3c2..ba5542d 100644
--- a/conf/perm.0
+++ b/conf/perm.0
@@ -59,6 +59,7 @@
/usr/sbin/ root.root 755
/usr/sbin/* root.root 755
/var/ root.root 755
+/var/tmp root.roo 1777
/var/log/ root.root 755
/var/log/* root.adm 644
/var/log/security/ root.root 700
diff --git a/conf/perm.1 b/conf/perm.1
index 8fc7d12..e08da38 100644
--- a/conf/perm.1
+++ b/conf/perm.1
@@ -64,3 +64,4 @@
/var/log/security/ root.root 700
/var/log/security/* root.root 600
/var/spool/mail/ root.mail 2775
+/var/tmp root.root 2777
diff --git a/conf/perm.2 b/conf/perm.2
index c6a3d41..260710c 100644
--- a/conf/perm.2
+++ b/conf/perm.2
@@ -64,3 +64,4 @@
/var/log/security/ root.root 700
/var/log/security/* root.root 600
/var/spool/mail/ root.mail 2775
+/var/tmp root.root 1777
diff --git a/conf/perm.3 b/conf/perm.3
index 2c8520d..45c70ca 100644
--- a/conf/perm.3
+++ b/conf/perm.3
@@ -64,3 +64,4 @@
/var/log/security/ root.root 700
/var/log/security/* root.root 600
/var/spool/mail/ root.mail 2775
+/var/tmp root.root 1777
diff --git a/conf/perm.4 b/conf/perm.4
index ef31596..c32f530 100644
--- a/conf/perm.4
+++ b/conf/perm.4
@@ -64,3 +64,4 @@
/var/log/security/ root.root 700
/var/log/security/* root.root 600
/var/spool/mail/ root.mail 771
+/var/tmp root.root 1777
diff --git a/conf/perm.5 b/conf/perm.5
index 2c50be6..b3b2b24 100644
--- a/conf/perm.5
+++ b/conf/perm.5
@@ -75,3 +75,4 @@
/var/log/security/ root.root 700
/var/log/security/* root.root 600
/var/spool/mail/ root.mail 771
+/var/tmp root.root 1777
diff --git a/init-sh/file_perm.sh b/init-sh/file_perm.sh
index f99ef97..f69b222 100755
--- a/init-sh/file_perm.sh
+++ b/init-sh/file_perm.sh
@@ -9,9 +9,9 @@ echo -n "Setting files permissions : "
grep -v "^#" $1 | while read file owner perm; do
if [[ ${owner} != current ]]; then
- chown ${owner} ${file}
+ chown ${owner} ${file} >& /dev/null
fi
- chmod ${perm} ${file}
+ chmod ${perm} ${file} >& /dev/null
done
echo "done."
diff --git a/msec.spec b/msec.spec
index b5696ef..4eb109b 100644
--- a/msec.spec
+++ b/msec.spec
@@ -49,7 +49,8 @@ rm -rf $RPM_BUILD_ROOT
* Mon Apr 17 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com> 0.12-3mdk
- perm.5 : -e s'/ntool/ntools/' -e s'/ctool/ctools/'
- updated documentation.
-- fixed file_perm.sh
+- file_perm.sh : bug fix + output to /dev/null.
+- include /var/tmp in perm.[0-5].
* Fri Apr 14 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com> 0.12-1mdk
- Modify zprofile.