PKGBUILDs/core/nfs-utils/nfs-utils-1.1.4-no-exec.patch
2009-10-09 21:17:35 -05:00

16 lines
297 B
Diff

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;
}