]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - debian/patches/06-dont-check-exec-bit.patch
Imported Debian patch 1.1.2-5
[nfs-utils.git] / debian / patches / 06-dont-check-exec-bit.patch
diff --git a/debian/patches/06-dont-check-exec-bit.patch b/debian/patches/06-dont-check-exec-bit.patch
new file mode 100644 (file)
index 0000000..28606e2
--- /dev/null
@@ -0,0 +1,15 @@
+Index: nfs-utils-1.1.2/utils/mount/mount.c
+===================================================================
+--- nfs-utils-1.1.2.orig/utils/mount/mount.c   2008-07-11 18:59:58.000000000 +0200
++++ nfs-utils-1.1.2/utils/mount/mount.c        2008-07-11 18:59:58.000000000 +0200
+@@ -381,10 +381,6 @@
+               mount_error(NULL, mount_point, ENOTDIR);
+               return 1;
+       }
+-      if (access(mount_point, X_OK) < 0) {
+-              mount_error(NULL, mount_point, errno);
+-              return 1;
+-      }
+       return 0;
+ }