[Pcsclite-cvs-commit] r2663 - /trunk/PCSC/src/pcscdaemon.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Oct 18 09:32:54 UTC 2007
Author: rousseau
Date: Thu Oct 18 09:32:53 2007
New Revision: 2663
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2663
Log:
main(): do not create the PCSCLITE_IPC_DIR directory with write
permission for group and other
Modified:
trunk/PCSC/src/pcscdaemon.c
Modified: trunk/PCSC/src/pcscdaemon.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/pcscdaemon.c?rev=2663&op=diff
==============================================================================
--- trunk/PCSC/src/pcscdaemon.c (original)
+++ trunk/PCSC/src/pcscdaemon.c Thu Oct 18 09:32:53 2007
@@ -447,7 +447,8 @@
rv = SYS_Stat(PCSCLITE_IPC_DIR, &fStatBuf);
if (rv < 0)
{
- rv = SYS_Mkdir(PCSCLITE_IPC_DIR, S_ISVTX | S_IRWXO | S_IRWXG | S_IRWXU);
+ rv = SYS_Mkdir(PCSCLITE_IPC_DIR,
+ S_ISVTX | S_IROTH | S_IXOTH | S_IRGRP | S_IXGRP | S_IRWXU);
if (rv != 0)
{
Log2(PCSC_LOG_CRITICAL,
More information about the Pcsclite-cvs-commit
mailing list