diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-10 20:49:48 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-10 20:49:48 +0200 |
commit | 559e46aaeab8b018a01e218aac5441424cefe266 (patch) | |
tree | 4cb5f199228d07f54debabf5f516d8280bb39aba /package/base-files/src/sbin/adkupdate | |
parent | 8dc9983aee254647b438609a6f915efc10d1fd83 (diff) |
add suid bits after update
Diffstat (limited to 'package/base-files/src/sbin/adkupdate')
-rwxr-xr-x | package/base-files/src/sbin/adkupdate | 8 |
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 |