summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-suid
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 04:34:24 +0000
committerjoey <joey>1999-08-17 04:34:24 +0000
commit1e6dea44772a0c1f57e7cd50ff12e35a1cff0b96 (patch)
tree212e56dc8ea32cf27cd2a33ac901a92a701f063f /autoscripts/postinst-suid
parentface7b5d7df5fb2b8f434bc7135f27b38329a5c5 (diff)
r11: Initial revision
Diffstat (limited to 'autoscripts/postinst-suid')
-rw-r--r--autoscripts/postinst-suid6
1 files changed, 6 insertions, 0 deletions
diff --git a/autoscripts/postinst-suid b/autoscripts/postinst-suid
new file mode 100644
index 0000000..1294d31
--- /dev/null
+++ b/autoscripts/postinst-suid
@@ -0,0 +1,6 @@
+if [ -e /etc/suid.conf -a -x /usr/sbin/suidregister ]; then
+ suidregister -s #PACKAGE# /#FILE# #OWNER# #GROUP# #PERMS#
+else
+ chown #OWNER#.#GROUP# /#FILE#
+ chmod #PERMS# /#FILE#
+fi