Browse Source

add suid bits after update

Waldemar Brodkorb 14 years ago
parent
commit
559e46aaea
1 changed files with 8 additions and 0 deletions
  1. 8 0
      package/base-files/src/sbin/adkupdate

+ 8 - 0
package/base-files/src/sbin/adkupdate

@@ -89,6 +89,14 @@ case $1 in
                 ;;
 esac
 
+# fix permissions
+if [ -f /usr/bin/sudo ];then
+	chmod 4755 /usr/bin/sudo
+fi
+if [ -f /usr/bin/Xorg ];then
+	chmod 4755 /usr/bin/Xorg
+fi
+
 sync
 if [ -x /sbin/cfgfs ];then
 	umount /etc