diff options
author | Martin Pitt <martin.pitt@canonical.com> | 2014-02-12 18:13:36 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@canonical.com> | 2014-02-12 18:13:36 +0100 |
commit | d77149e228e68e3d791db86edd01138a0a2b70db (patch) | |
tree | 21d48777d44ea102ea4bb69b04252dd5b0c2e3df | |
parent | 481f8bcec53b33d80fb77bba2b7c283796d7ee2d (diff) | |
download | lightdm-d77149e228e68e3d791db86edd01138a0a2b70db.tar.gz |
debian/lightdm.postinst: Guard the chown'ing of /var/lib/lightdm/, it
might fail on the .gvfs mount. (LP: #1279428)
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/lightdm.postinst | 2 |
2 files changed, 8 insertions, 1 deletions
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 <martin.pitt@ubuntu.com> 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 |