PKGBUILDs/core/nfs-utils/nfs-utils-1.1.4-no-exec.patch

16 lines
297 B
Diff
Raw Normal View History

2009-10-10 02:17:35 +00:00
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;
}