Message ID | 20241106181342.776776-1-smayhew@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Makefile.am: allow mount.nfs to be writeable by owner | expand |
On 11/6/24 12:13 PM, Scott Mayhew wrote: > On Red Hat-based systems, the debug symbol files are built with a > .gdb_index section to speed up gdb initialization. The gdb-add-index > program calls objcopy to merge the index file into the object file. > That fails if the object file isn't writeable by the owner. > > Signed-off-by: Scott Mayhew <smayhew@redhat.com Committed... (tag: nfs-utils-2-8-2-rc1) steved. > --- > utils/mount/Makefile.am | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/utils/mount/Makefile.am b/utils/mount/Makefile.am > index 5ff1148c..83a8ee1c 100644 > --- a/utils/mount/Makefile.am > +++ b/utils/mount/Makefile.am > @@ -50,7 +50,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/utils/mount/Makefile.am b/utils/mount/Makefile.am index 5ff1148c..83a8ee1c 100644 --- a/utils/mount/Makefile.am +++ b/utils/mount/Makefile.am @@ -50,7 +50,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)
On Red Hat-based systems, the debug symbol files are built with a .gdb_index section to speed up gdb initialization. The gdb-add-index program calls objcopy to merge the index file into the object file. That fails if the object file isn't writeable by the owner. Signed-off-by: Scott Mayhew <smayhew@redhat.com> --- utils/mount/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)