Change rights after install

This commit is contained in:
Stéphane Duret 2025-05-06 16:43:58 +02:00 committed by GitHub
parent dcd186de24
commit df858cf8a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,8 +9,8 @@ function migrateConfigFromPmToJson() {
/usr/bin/centreon_vmware_convert_config_file "$perl_config_file_path" > "$json_config_file_path" /usr/bin/centreon_vmware_convert_config_file "$perl_config_file_path" > "$json_config_file_path"
mv "$perl_config_file_path" "${perl_config_file_path}.deprecated" mv "$perl_config_file_path" "${perl_config_file_path}.deprecated"
fi fi
chown centreon: "$json_config_file_path" chown centreon-gorgone:centreon "$json_config_file_path"
chmod 640 "$json_config_file_path" chmod 660 "$json_config_file_path"
} }
function applyToSystemD() { function applyToSystemD() {