summaryrefslogtreecommitdiff
path: root/debian/patches/dir_acces_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/dir_acces_fix.patch')
-rw-r--r--debian/patches/dir_acces_fix.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/debian/patches/dir_acces_fix.patch b/debian/patches/dir_acces_fix.patch
deleted file mode 100644
index 964b39a5..00000000
--- a/debian/patches/dir_acces_fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
----
- libfshelp/perms-access.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/libfshelp/perms-access.c
-+++ b/libfshelp/perms-access.c
-@@ -30,7 +30,7 @@ fshelp_access (struct stat *st, int op,
- {
- int gotit;
- if (idvec_contains (user->uids, 0))
-- gotit = (op != S_IEXEC) || (st->st_mode & (S_IXUSR | S_IXGRP | S_IXOTH));
-+ gotit = (op != S_IEXEC) || !S_ISREG(st->st_mode) || (st->st_mode & (S_IXUSR | S_IXGRP | S_IXOTH));
- else if (user->uids->num == 0 && (st->st_mode & S_IUSEUNK))
- gotit = st->st_mode & (op << S_IUNKSHIFT);
- else if (!fshelp_isowner (st, user))