summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-10 20:49:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-10 20:49:48 +0200
commit559e46aaeab8b018a01e218aac5441424cefe266 (patch)
tree4cb5f199228d07f54debabf5f516d8280bb39aba /package/base-files
parent8dc9983aee254647b438609a6f915efc10d1fd83 (diff)
add suid bits after update
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/src/sbin/adkupdate8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate
index 619faf04f..b5477412f 100755
--- a/package/base-files/src/sbin/adkupdate
+++ b/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