mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-21 07:05:25 -04:00
fuse: Always fail X_OK in access()
Pointed out by Ray Strode.
This commit is contained in:
1 parent
c01c6b487a
commit
d245ba3574
1 file changed
+2
-1
@@ -2159,7 +2159,8 @@ xdp_fuse_access (fuse_req_t req, fuse_ino_t ino, int mask)
|
||||
else
|
||||
{
|
||||
if (((mask & R_OK) && !app_can_see_doc (entry, inode->app_id)) ||
|
||||
((mask & W_OK) && !app_can_write_doc (entry, inode->app_id)))
|
||||
((mask & W_OK) && !app_can_write_doc (entry, inode->app_id)) ||
|
||||
(mask & X_OK))
|
||||
{
|
||||
fuse_reply_err (req, EACCES);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user