From: Wilfried Göesgens Date: Thu, 16 Aug 2007 21:38:22 +0000 (+0000) Subject: * once we have an FD we can use it for fchmod X-Git-Tag: v7.86~3145 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=baad85a91d71739b0667fea6870044ca2df2004b;p=citadel.git * once we have an FD we can use it for fchmod --- diff --git a/citadel/sysdep.c b/citadel/sysdep.c index b819acca7..25fcc7743 100644 --- a/citadel/sysdep.c +++ b/citadel/sysdep.c @@ -407,7 +407,7 @@ int ig_uds_server(char *sockpath, int queue_len, char **errormessage) return(-1); } - chmod(sockpath, 0777); + fchmod(s, 0777); return(s); }