Browse Source

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 years ago
parent
commit
ffcadfc38d
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      Common/UtilityConfig.cpp

+ 9
- 0
Common/UtilityConfig.cpp View File

@@ -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…
Cancel
Save