diff options
-rw-r--r-- | debian/patches/dir_acces_fix.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/dir_acces_fix.patch b/debian/patches/dir_acces_fix.patch index c87b3663..d40a5a11 100644 --- a/debian/patches/dir_acces_fix.patch +++ b/debian/patches/dir_acces_fix.patch @@ -10,7 +10,7 @@ diff -u -p -r1.2 perms-access.c 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_ISDIR(st->st_mode) || (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)) |