projects
/
busybox-power
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set SUID bit on busybox
[busybox-power]
/
debian
/
busybox-power.postinst
diff --git
a/debian/busybox-power.postinst
b/debian/busybox-power.postinst
index
0c89665
..
9c4a8c0
100644
(file)
--- a/
debian/busybox-power.postinst
+++ b/
debian/busybox-power.postinst
@@
-9,3
+9,7
@@
if ! grep -F -q "$line" /etc/profile; then
echo "$line" >> /etc/profile
fi
+# Set SUID bit on /bin/busybox. Privileges are automatically dropped for
+# applets that do not require the SUID bit to be set
+chmod u+s /bin/busybox
+