postinst file fails if /var/lib/placement/placement.sqlite exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
placement (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
postinst file contains these instructions:
<snip>
if [ -e /var/lib/
then
chmod placement:placement /var/lib/
chmod 640 /var/lib/
fi
<snip>
The first 'chmod' has invalid syntax.
I suspect it should read:
chown -R placement:placement /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: placement-common 1.0.0-0ubuntu1~
ProcVersionSign
Uname: Linux 4.15.0-50-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CrashDB:
{
}
Date: Fri Jun 21 15:16:02 2019
InstallationDate: Installed on 2019-04-24 (58 days ago)
InstallationMedia: Ubuntu-Server 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
PackageArchitec
ProcEnviron:
LANG=en_CA.UTF-8
SHELL=/bin/bash
TERM=xterm
LANGUAGE=en_CA:en
PATH=(custom, no user)
SourcePackage: placement
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.