Ver código fonte

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 anos atrás
pai
commit
ffcadfc38d
1 arquivos alterados com 9 adições e 0 exclusões
  1. 9
    0
      Common/UtilityConfig.cpp

+ 9
- 0
Common/UtilityConfig.cpp Ver arquivo

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

Carregando…
Cancelar
Salvar