Package: fuse
Version: 2.8.6-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch precise

We had an Ubuntu bug report (https://launchpad.net/bugs/697792) a while
back complaining that the permissions of /etc/fuse.conf were reset on
every upgrade.  It seems in the spirit of Debian policy to only do this
on initial install.

=== modified file 'debian/fuse.postinst'
--- debian/fuse.postinst        2011-10-23 11:07:53 +0000
+++ debian/fuse.postinst        2011-11-24 23:06:24 +0000
@@ -33,8 +33,10 @@ case "${1}" in
                        chmod 4754 /bin/fusermount
                fi
 
-               chown root:fuse /etc/fuse.conf
-               chmod 0640 /etc/fuse.conf
+               if [ -z "$2" ]; then
+                       chown root:fuse /etc/fuse.conf
+                       chmod 0640 /etc/fuse.conf
+               fi
                ;;
 
        abort-upgrade|abort-remove|abort-deconfigure)

Thanks,

-- 
Colin Watson                                       [[email protected]]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to