瀏覽代碼

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)) {

Loading…
取消
儲存