diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-08-01 13:36:53 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-08-01 13:36:53 +0000 |
commit | 009b878e22fae96037da5332937c436d48d7989e (patch) | |
tree | 943c8c4c53ca3e06161357c55aaa0e21f1f6ed58 /include | |
parent | 7b28eaeac5f2d8d591b1b0c94e10b64644017869 (diff) | |
download | libfuse-009b878e22fae96037da5332937c436d48d7989e.tar.gz |
fix
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/include/fuse.h b/include/fuse.h index b7b7ef3..bb700a7 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -141,10 +141,9 @@ struct fuse_operations { /** File open operation * * No creation, or trunctation flags (O_CREAT, O_EXCL, O_TRUNC) - * will be passed to open(). Open should check if the operation - * is permitted for the given flags. Optionally open may also - * return an arbitary filehandle in the fuse_file_info structure, - * which will be passed to all file operations. + * will be passed to open(). Optionally open may return an + * arbitary filehandle in the fuse_file_info structure, which will + * be passed to all file operations. * * Changed in version 2.2 */ @@ -239,10 +238,7 @@ struct fuse_operations { /** Remove extended attributes */ int (*removexattr) (const char *, const char *); - /** Open direcory - * - * This method should check if the open operation is permitted for - * this directory + /** Open directory * * Introduced in version 2.3 */ @@ -311,8 +307,10 @@ struct fuse_operations { * Check file access permissions * * Need not be implemented. Will only be called for the access() - * system call, and only if 'default_permissions' mount option is - * not given. + * system call, and for the open() system call, unless a new file + * is created (file didn't exist and O_CREAT was given). If the + * 'default_permissions' mount option is given, this method is + * never called. * * Introduced in version 2.4 */ |