debian/pcscd.postinst: create the pcscd group and setgid pcscd to it

This commit is contained in:
Ludovic Rousseau 2010-12-04 16:17:13 +00:00
parent 982a1abdb3
commit c0a2c72c71
2 changed files with 9 additions and 1 deletions

3
debian/changelog vendored
View File

@ -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 <rousseau@debian.org> Sat, 04 Dec 2010 17:08:21 +0100
-- Ludovic Rousseau <rousseau@debian.org> Sat, 04 Dec 2010 17:16:38 +0100
pcsc-lite (1.6.4-1) experimental; urgency=low

View File

@ -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#