From 89d0e395460fe5c0501d95c1223a866a53bdff6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Davi=20Ant=C3=B4nio=20da=20Silva=20Santos?= Date: Wed, 1 Mar 2023 23:47:05 -0300 Subject: Fix chown usage in maintainer scripts The maintainer scripts used by boca-common and boca-web used points to separate the user from its group, which is discouraged. The point has been replaced with a colon as recommended by chown's manpage. This fixes the Lintian warnings: * boca-common: maintainer-script-calls-chown-improperly "chown www-data.www-data" [postinst:51] * boca-web: maintainer-script-calls-chown-improperly "chown -R www-data.www-data" [postinst:5] --- debian/boca-common.postinst | 2 +- debian/boca-web.postinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/boca-common.postinst b/debian/boca-common.postinst index 0a35a35..2d47988 100644 --- a/debian/boca-common.postinst +++ b/debian/boca-common.postinst @@ -48,6 +48,6 @@ case "$1" in esac chmod 600 /var/www/boca/src/private/conf.php -chown www-data.www-data /var/www/boca/src/private/conf.php +chown www-data:www-data /var/www/boca/src/private/conf.php exit 0 diff --git a/debian/boca-web.postinst b/debian/boca-web.postinst index 2006bff..ca537f5 100644 --- a/debian/boca-web.postinst +++ b/debian/boca-web.postinst @@ -2,7 +2,7 @@ . /usr/share/debconf/confmodule -chown -R www-data.www-data /var/www/boca +chown -R www-data:www-data /var/www/boca chmod -R go-rwx /var/www/boca/src/private a2enmod socache_shmcb -- cgit v1.2.3