Ori does not return correct information for 'access' call

Issue #15 new
ezyang created an issue

Steps to reproduce:

  1. Create a file 'foo' in an Ori-mounted file-system, with the executable bit unset. (This is usually automatically done by the default umask)

  2. Compile and run this C program:

#include <stdio.h>
#include <unistd.h>

int main() {
    printf("%d\n", access("foo", X_OK));
}

Expected result: -1 is printed, since the file is not executable.

Actual result: 0 is printed.

Comments (1)

  1. Ali Mashtizadeh

    That's interesting given I don't implement an access method I believe FUSE is supposed support this based on getattr being implemented.

  2. Log in to comment