Merge lp:~barry/ubuntu/natty/fuse/bug-697792 into lp:ubuntu/natty/fuse

Proposed by Barry Warsaw
Status: Merged
Merged at revision: 46
Proposed branch: lp:~barry/ubuntu/natty/fuse/bug-697792
Merge into: lp:ubuntu/natty/fuse
Diff against target: 51 lines (+21/-5)
2 files modified
debian/changelog (+9/-0)
debian/fuse-utils.postinst (+12/-5)
To merge this branch: bzr merge lp:~barry/ubuntu/natty/fuse/bug-697792
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+47074@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-01-19 14:31:21 +0000
+++ debian/changelog 2011-01-21 19:09:13 +0000
@@ -1,3 +1,12 @@
1fuse (2.8.4-1.1ubuntu3) natty; urgency=low
2
3 * debian/fuse-utils.postinst:
4 Respect local modifications to /etc/fuse.conf by not changing the
5 ownership or mode of /etc/fuse.conf in the postinst file unless we're
6 also adding the fuse group for the first time. (LP: #697792)
7
8 -- Barry Warsaw <barry@ubuntu.com> Fri, 21 Jan 2011 11:13:06 -0500
9
1fuse (2.8.4-1.1ubuntu2) natty; urgency=low10fuse (2.8.4-1.1ubuntu2) natty; urgency=low
211
3 * SECURITY UPDATE: arbitrary unprivileged unmount (LP: #670622)12 * SECURITY UPDATE: arbitrary unprivileged unmount (LP: #670622)
413
=== modified file 'debian/fuse-utils.postinst'
--- debian/fuse-utils.postinst 2010-01-13 14:48:39 +0000
+++ debian/fuse-utils.postinst 2011-01-21 19:09:13 +0000
@@ -6,9 +6,15 @@
6case "$1" in6case "$1" in
7 configure|upgrade)7 configure|upgrade)
8 8
9 # Create fuse group9 # Create fuse group. If the group does not exist, then it's also highly
10 echo "creating fuse group..."10 # unlikely that /etc/fuse.conf exists with local modifications, so only in
11 getent group fuse >/dev/null || addgroup --system fuse11 # this case do we set the ownership of that file. LP: #679792
12 if ! getent group fuse >/dev/null; then
13 echo "creating fuse group and modifying ownership of /etc/fuse.conf..."
14 addgroup --system fuse
15 chmod 0640 /etc/fuse.conf
16 chown root:fuse /etc/fuse.conf
17 fi
12 18
13 # Detect if udev is active19 # Detect if udev is active
14 udev=020 udev=0
@@ -45,8 +51,9 @@
4551
46 test -f /etc/default/fuse-utils && rm -f /etc/default/fuse-utils52 test -f /etc/default/fuse-utils && rm -f /etc/default/fuse-utils
47 53
48 chown root:fuse /etc/fuse.conf54 # LP: #697792
49 chmod 0640 /etc/fuse.conf55 #chown root:fuse /etc/fuse.conf
56 #chmod 0640 /etc/fuse.conf
5057
51 if ! grep -qw fuse /proc/filesystems; then58 if ! grep -qw fuse /proc/filesystems; then
52 # try to load the module59 # try to load the module

Subscribers

People subscribed via source and target branches

to all changes: