From dc0832eb247f7131912c15193d4aa902641fafa5 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Sun, 24 Nov 2024 11:24:03 -0500 Subject: [PATCH] Makefile.am: allow mount.nfs to be writeable by owner (RHEL-68701) Signed-off-by: Steve Dickson Resolves: RHEL-68701 --- nfs-utils-2.5.4-mount-writable.patch | 12 ++++++++++++ nfs-utils.spec | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 nfs-utils-2.5.4-mount-writable.patch diff --git a/nfs-utils-2.5.4-mount-writable.patch b/nfs-utils-2.5.4-mount-writable.patch new file mode 100644 index 0000000..c8b6765 --- /dev/null +++ b/nfs-utils-2.5.4-mount-writable.patch @@ -0,0 +1,12 @@ +diff -up nfs-utils-2.5.4/utils/mount/Makefile.am.orig nfs-utils-2.5.4/utils/mount/Makefile.am +--- nfs-utils-2.5.4/utils/mount/Makefile.am.orig 2021-06-10 14:07:47.000000000 -0400 ++++ nfs-utils-2.5.4/utils/mount/Makefile.am 2024-11-24 09:31:37.817565778 -0500 +@@ -47,7 +47,7 @@ install-exec-hook: + ln -sf mount.nfs mount.nfs4 && \ + ln -sf mount.nfs umount.nfs && \ + ln -sf mount.nfs umount.nfs4 && \ +- chmod 4511 mount.nfs ) ++ chmod 4711 mount.nfs ) + uninstall-hook: + (cd $(DESTDIR)$(sbindir) && \ + rm -f mount.nfs4 umount.nfs umount.nfs4) diff --git a/nfs-utils.spec b/nfs-utils.spec index 7f53f0f..f477472 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser Name: nfs-utils URL: http://linux-nfs.org/ Version: 2.5.4 -Release: 28%{?dist} +Release: 29%{?dist} Epoch: 1 # group all 32bit related archs @@ -69,6 +69,7 @@ Patch027: nfs-utils-2.5.4-gssd-segfault.patch # RHEL9.6 # Patch028: nfs-utils-2.5.4-rpcidmapd-nfsopen-failure.patch +Patch029: nfs-utils-2.5.4-mount-writable.patch Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch @@ -510,6 +511,9 @@ fi %{_mandir}/*/nfsiostat.8.gz %changelog +* Sun Nov 24 2024 Steve Dickson 2.5.4-28 +- Makefile.am: allow mount.nfs to be writeable by owner (RHEL-68701) + * Thu Nov 14 2024 Steve Dickson 2.5.4-28 - rpc.idmapd: nfsopen() failures should not be fatal (RHEL-65727)