• Miklos Szeredi's avatar
    fuse: allow umask processing in userspace · e0a43ddc
    Miklos Szeredi authored
    This patch lets filesystems handle masking the file mode on creation.
    This is needed if filesystem is using ACLs.
    
     - The CREATE, MKDIR and MKNOD requests are extended with a "umask"
       parameter.
    
     - A new FUSE_DONT_MASK flag is added to the INIT request/reply.  With
       this the filesystem may request that the create mode is not masked.
    
    CC: Jean-Pierre André <jean-pierre.andre@wanadoo.fr>
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    e0a43ddc
dir.c 39.2 KB