summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2016-10-01 07:32:32 +0200
committerBen Hutchings <ben@decadent.org.uk>2017-02-23 03:54:06 +0000
commit03f23d54b16fb39d42dafe806228f9adb8cb30ea (patch)
tree7886164a38453f4675d05810ceb3827c635627ff /scripts
parente8e71d678bae3c909d04c7939a293eb8d914a6a0 (diff)
fuse: invalidate dir dentry after chmod
commit 5e2b8828ff3d79aca8c3a1730652758753205b61 upstream. Without "default_permissions" the userspace filesystem's lookup operation needs to perform the check for search permission on the directory. If directory does not allow search for everyone (this is quite rare) then userspace filesystem has to set entry timeout to zero to make sure permissions are always performed. Changing the mode bits of the directory should also invalidate the (previously cached) dentry to make sure the next lookup will have a chance of updating the timeout, if needed. Reported-by: Jean-Pierre André <jean-pierre.andre@wanadoo.fr> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions