Method: FFI::Libfuse::FuseOperations#access

Defined in:
lib/ffi/libfuse/fuse_operations.rb

#access(path, mode) ⇒ Integer

This method is abstract.

Check file access permissions

This will be called for the access() system call. If the 'default_permissions' mount option is given, this method is not called.

This method is not called under Linux kernel versions 2.4.x

Parameters:

  • path (String)
  • mode (Integer)

Returns:

  • (Integer)

    0 for success or -ve errno

See Also:

  • access(2)


# File 'lib/ffi/libfuse/fuse_operations.rb', line 565