]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Enabled capabilities to some tools (again).
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Jun 2009 17:11:14 +0000 (19:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Jun 2009 17:11:14 +0000 (19:11 +0200)
lfs/iputils
lfs/util-linux-ng

index 9c23f0c1f15138b27415867757d43fc8683412a1..8e90ce7bcb175f589ba8d0f0dce407ced56ec28c 100644 (file)
@@ -128,6 +128,6 @@ $(OBJECT): $(objects)
        ln -svf ../../bin/tracepath             /usr/sbin/
        ln -svf ../../bin/tracepath6    /usr/sbin/
 
-       -setcap cap_net_admin=ep /bin/ping
+       setcap cap_net_admin=ep /bin/ping
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
index b7ed6a4739c41fb478965045b50c5481131a367b..e649c1b0fa34fe8200039e58e88b44f42e821e7c 100644 (file)
@@ -125,10 +125,10 @@ $(OBJECT): $(objects)
        # PAM
        cp -vf $(DIR_CONFIG)/pam.d/login /etc/pam.d/
 
-       #chmod -v -s /bin/mount
-       #setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=ep /bin/mount
-       #chmod -v -s /bin/umount
-       #setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=ep /bin/umount
+       chmod -v -s /bin/mount
+       setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=ep /bin/mount
+       chmod -v -s /bin/umount
+       setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=ep /bin/umount
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)