Closed satkunas closed 2 weeks ago
Unrelated to the fingerbank warnings, but there are a few other times that chown with period is used.
addons/perl-client/Makefile: chown fingerbank.fingerbank /usr/local/fingerbank/db/fingerbank_Local.db; \
addons/perl-client/Makefile: chown fingerbank.fingerbank /usr/local/fingerbank/db/fingerbank_Upstream.db; \
addons/monit/monitoring-scripts/update.sh:execute_and_check "chown root.pf-monitoring $script_dir"
addons/monit/monitoring-scripts/update.sh: execute_and_check "chown pf-monitoring.pf-monitoring $script_dir/$fname" "Cannot set executable bit on script"
addons/pfconfig/pfconfig.init: chown -R $User.$User $control_files_dir
addons/AD/migrate.pl:pf_run("chown pf.pf $domain_config_file");
rpm/packetfence.spec: chown pf.pf /usr/local/pf/conf/pf.conf
rpm/packetfence.spec: chown pf.pf /usr/local/pf/conf/pfconfig.conf
bin/cluster/sync: `chown pf.pf $file`;
Added. Thanks
Debian 12 bookworm
Use
:
user-group separator with chownhttps://github.com/inverse-inc/packetfence/blob/a4e19c976c558114ad1609eb33b0fdb622be3a7c/addons/perl-client/debian/fingerbank.postinst#L33