diff --git a/debian/changelog b/debian/changelog index a92fbc7..c47571f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,9 @@ pcsc-lite (1.6.5-1) experimental; urgency=low * debian/rules: do not install pcscd suid root * debian/pcscd.lintian-overrides: removed since no more lintian warnings * debian/pcscd.init: create $IPCDIR with correct access rights + * debian/pcscd.postinst: create the pcscd group and setgid pcscd to it - -- Ludovic Rousseau Sat, 04 Dec 2010 17:08:21 +0100 + -- Ludovic Rousseau Sat, 04 Dec 2010 17:16:38 +0100 pcsc-lite (1.6.4-1) experimental; urgency=low diff --git a/debian/pcscd.postinst b/debian/pcscd.postinst index 399ff01..4e34bc7 100644 --- a/debian/pcscd.postinst +++ b/debian/pcscd.postinst @@ -16,4 +16,11 @@ if [ -d $CFGDIR ]; then rm -rf $CFGDIR fi +# create the pcscd group +addgroup --system pcscd + +# set guid pcscd for pcscd +chgrp pcscd /usr/sbin/pcscd +chmod g+s /usr/sbin/pcscd + #DEBHELPER#