浏览代码

Make share/snf-milter be owned by snfuser with mode 755 (so that the

rulebase can be created by snfuser).


git-svn-id: https://svn.microneil.com/svn/SNFUtility/trunk@60 aa37657e-1934-4a5f-aa6d-2d8eab27ff7c
master
adeniz 11 年前
父节点
当前提交
ffcadfc38d
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9
    0
      Common/UtilityConfig.cpp

+ 9
- 0
Common/UtilityConfig.cpp 查看文件

@@ -889,6 +889,15 @@ UtilityConfig::SetOwnerPermissionsOfConfigFiles() {
}
File = DEFAULT_DATA_DIR;
if (FileExists(File)) {
SetMode(File, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
SetOwnerGroup(File);
}
std::string LogDir = GetLogPath();
if (FileExists(LogDir)) {

正在加载...
取消
保存