[PATCH] Makefile.am: allow mount.nfs to be writeable by owner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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)
-- 
2.45.2





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux