core/nfs-utils/nfs-utils-1.1.4-no-exec.patch
Jan Mette a20ff5c68a
2010-03-13 15:25:19 +00: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;
}