You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by ch...@apache.org on 2013/06/20 18:03:16 UTC
svn commit: r1495068 -
/uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c
Author: challngr
Date: Thu Jun 20 16:03:16 2013
New Revision: 1495068
URL: http://svn.apache.org/r1495068
Log:
UIMA-3015 Use mode 0777 when making directories. V0.8.5.
Modified:
uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c?rev=1495068&r1=1495067&r2=1495068&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-spawn/src/ducc_ling.c Thu Jun 20 16:03:16 2013
@@ -41,7 +41,7 @@
#include <netdb.h>
#include <arpa/inet.h>
-#define VERSION "0.8.4"
+#define VERSION "0.8.5"
/**
* 2012-05-04 Support -w <workingdir>. jrc.
@@ -60,7 +60,8 @@
* in both user and agent logs. jrc
* 2013-05-07 0.8.2 Implement append (-a) option. jrc
* 2013-05-07 0.8.3 Implement version (-v) option. jrc
- * 2013-06-14 0.8.4 Don't create log heirarchy before switching ids! jrc
+ * 2013-06-14 0.8.4 Don't create log heirarchy before switching ids! jrc
+ * 2013-06-20 0.8.5 Use mode 0777 making directories so umask can control permissions. jrc
*/
/**
@@ -142,7 +143,7 @@ int mksubdir(char *path)
}
fprintf(stdout, "2000 Creating directory %s\n", path);
- if ( mkdir(path, 0750) != 0 ) {
+ if ( mkdir(path, 0777) != 0 ) {
if ( errno == EEXIST ) {
// Terribly, terribly ugly. Parts of the directory might be made already in the