SMS Server Tools 3
This site is hosted by
Basic information:
Additional information:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

Custom Search

 Visitor locations
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Mon Jun 17, 2024 23:12
SMSTools3 Community » Bug reports Bottom

[fixed in 3.1.9] umask option bug/everything worldwriteable

Login and Post Reply

Page:  1

Author Post
Jun 2010
Location: Nuremberg, Germany

the last umask(0) call to get the actual umask if you specify one in the smsd.conf file resets the umask to "0", means everything is world writeable. umask(0) does not have any special meaning to get only the current value back.

--- src/smsd_cfg.c
+++ src/smsd_cfg.c 2010/06/10 10:09:45
@@ -2464,7 +2464,7 @@
- mode = umask(0);
+ mode = umask(conf_umask);

m = 0666 & ~mode;

May 2009
Location: Jyväskylä, Finland
Thank's for reporting this. Your fix will be included in the next version.

Login and Post Reply

Page:  1

SMSTools3 Community » Bug reports Top

Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.