summaryrefslogtreecommitdiff
path: root/testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-27 23:14:39 +0000
committerroot <root@rshg054.dnsready.net>2011-08-27 23:14:39 +0000
commita4c358009dd89183b4124505c694ea7f5fcdbeec (patch)
tree2b157b1e89ca7df45bd35f6a72c39b26af558827 /testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch
parentd7d02f7c02a5c761e8a64df49598ae976640e450 (diff)
Sat Aug 27 23:14:39 UTC 2011
Diffstat (limited to 'testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch')
-rw-r--r--testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch b/testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch
new file mode 100644
index 000000000..ea50a21d8
--- /dev/null
+++ b/testing/nfs-utils/nfs-utils-1.1.4-no-exec.patch
@@ -0,0 +1,15 @@
+ripped from Debian
+
+--- nfs-utils-1.1.2/utils/mount/mount.c
++++ nfs-utils-1.1.2/utils/mount/mount.c
+@@ -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;
+ }