rpms/sectool/devel sectool-0.9.4-permissions.patch, NONE, 1.1 sectool.spec, 1.36, 1.37

Maros Barabas mbarabas at fedoraproject.org
Fri Apr 23 14:00:52 UTC 2010


Author: mbarabas

Update of /cvs/pkgs/rpms/sectool/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23522

Modified Files:
	sectool.spec 
Added Files:
	sectool-0.9.4-permissions.patch 
Log Message:
Permissions test: changed permissions of directories in root

sectool-0.9.4-permissions.patch:
 permissions.sh |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

--- NEW FILE sectool-0.9.4-permissions.patch ---
diff -up sectool-0.9.4/tests/permissions.sh.old sectool-0.9.4/tests/permissions.sh
--- sectool-0.9.4/tests/permissions.sh.old	2010-04-23 14:11:21.809668140 +0200
+++ sectool-0.9.4/tests/permissions.sh	2010-04-23 14:09:11.761669009 +0200
@@ -25,25 +25,25 @@ E_DOESNT_EXIST=1
 E_WRONG_OWNER=2
 E_WRONG_PERM=3
 
-dirs="/ 755
-/bin 755
-/boot 755
+dirs="/ 555
+/bin 555
+/boot 555
 /dev 755
 /etc 755
 /home 755
-/lib 755
+/lib 555
 /media 755
 /mnt 755
 /opt 755
-/root 750
-/sbin 755
+/root 550
+/sbin 555
 /srv 755
 /tmp 1777
 /usr 755
-  /usr/bin 755
-  /usr/sbin 755
+  /usr/bin 555
+  /usr/sbin 555
   /usr/include 755
-  /usr/lib 755
+  /usr/lib 555
   /usr/share 755
   /usr/src 755
   /usr/local 755


Index: sectool.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sectool/devel/sectool.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -p -r1.36 -r1.37
--- sectool.spec	20 Apr 2010 12:28:33 -0000	1.36
+++ sectool.spec	23 Apr 2010 14:00:52 -0000	1.37
@@ -1,7 +1,7 @@
 Summary: A security audit system and intrusion detection system
 Name: sectool
 Version: 0.9.4
-Release: 6%{?dist}
+Release: 7%{?dist}
 URL: https://hosted.fedoraproject.org/sectool/wiki/WikiStart
 Source0: %{name}-%{version}.tar.bz2
 Source1: sectool.log
@@ -10,6 +10,7 @@ Patch2: sectool-0.9.4-pk1.patch
 Patch3: sectool-0.9.4-policykit-fix.patch
 Patch4: sectool-0.9.4-dbus-fix.patch
 Patch5: sectool-0.9.4-rpmio.patch
+Patch6: sectool-0.9.4-permissions.patch
 License: GPLv2+
 Group: Applications/System
 Requires: gettext coreutils libselinux python-slip-dbus PolicyKit dbus
@@ -49,6 +50,7 @@ sectool-gui provides a GTK-based graphic
 %patch3 -p1 -b .policykit
 %patch4 -p1 -b .dbus
 %patch5 -p1 -b .rpmio
+%patch6 -p1 -b .perm
 
 %build
 make %{?_smp_mflags}
@@ -118,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Apr 23 2010 Maros Barabas <mbarabas at redhat.com> - 0.9.4-7
+- Permissions test: changed permissions of directories in root
+
 * Mon Apr 19 2010 Maros Barabas <mbarabas at redhat.com> - 0.9.4-6
 - Added -lrpmio (#564705)
 



More information about the scm-commits mailing list