From d77149e228e68e3d791db86edd01138a0a2b70db Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 12 Feb 2014 18:13:36 +0100 Subject: debian/lightdm.postinst: Guard the chown'ing of /var/lib/lightdm/, it might fail on the .gvfs mount. (LP: #1279428) --- debian/changelog | 7 +++++++ debian/lightdm.postinst | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index acb553b1..0722e4a2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +lightdm (1.9.6-0ubuntu4) UNRELEASED; urgency=medium + + * debian/lightdm.postinst: Guard the chown'ing of /var/lib/lightdm/, it + might fail on the .gvfs mount. (LP: #1279428) + + -- Martin Pitt Wed, 12 Feb 2014 18:12:04 +0100 + lightdm (1.9.6-0ubuntu3) trusty; urgency=medium [ Gunnar Hjalmarsson ] diff --git a/debian/lightdm.postinst b/debian/lightdm.postinst index 5c104883..ccc02ab0 100644 --- a/debian/lightdm.postinst +++ b/debian/lightdm.postinst @@ -37,7 +37,7 @@ if ! getent group nopasswdlogin >/dev/null; then fi if [ -d /var/lib/lightdm ]; then - chown -R lightdm:lightdm /var/lib/lightdm + chown -R lightdm:lightdm /var/lib/lightdm || true chmod 0750 /var/lib/lightdm fi -- cgit v1.2.1