mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
fixed GH #1114: World-write permissions on files created by daemon. Default umask is now 027; other mask can be set with --umask command-line parameter
Conflicts: Util/src/ServerApplication.cpp
This commit is contained in:
@@ -183,6 +183,7 @@ private:
|
||||
static Poco::Event _terminate;
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
void handleDaemon(const std::string& name, const std::string& value);
|
||||
void handleUMask(const std::string& name, const std::string& value);
|
||||
void handlePidFile(const std::string& name, const std::string& value);
|
||||
bool isDaemon(int argc, char** argv);
|
||||
void beDaemon();
|
||||
|
||||
Reference in New Issue
Block a user