Method: FFI::Libfuse::FuseOperations#chmod

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

#chmod(path, mode, fuse_file_info = nil) ⇒ Integer

This method is abstract.

Change the permission bits of a file

Parameters:

  • path (String)
  • mode (Integer)
  • fuse_file_info (FuseFileInfo) (defaults to: nil)

    (Fuse3 only)

Returns:

  • (Integer)

    0 for success or -ve errno



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