Use upstream permissions for /usr/bin/fusermount
authorPatrick McCarty <patrick.mccarty@linux.intel.com>
Fri, 12 Apr 2013 22:41:48 +0000 (15:41 -0700)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 21 Mar 2023 15:38:36 +0000 (16:38 +0100)
By default, /usr/bin/fusermount installs with the setuid bit set, and is
owned by root/root.  Setting 4750 permissions with 'trusted' group owner
is only useful if that group exists and certain UIDs are members of that
group, but that it is not currently the case.

This commit restores upstream permissions to /usr/bin/fusermount,
leaving the explicit %attr to make the setuid executable more visible.

Change-Id: I9871c9848b2b1bc5ad5f828911bf510bc72b62a2

packaging/fuse.changes [new file with mode: 0644]
packaging/fuse.spec

diff --git a/packaging/fuse.changes b/packaging/fuse.changes
new file mode 100644 (file)
index 0000000..26af646
--- /dev/null
@@ -0,0 +1,3 @@
+* Fri Apr 12 2013 Patrick McCarty <patrick.mccarty@linux.intel.com> accepted/trunk/20130325.212310@c17e81b
+- (TZPC-966) Use upstream permissions for /usr/bin/fusermount
+
index 57adb03..385e903 100644 (file)
@@ -120,7 +120,7 @@ rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d
 %files
 %defattr(-,root,root)
 %license COPYING*
-%verify(not mode) %attr(4750,root,trusted) %{_bindir}/fusermount
+%verify(not mode) %attr(4755,root,root) %{_bindir}/fusermount
 %{_sbindir}/mount.fuse
 %{_bindir}/ulockmgr_server
 /etc/udev/rules.d/99-fuse.rules