Re: [PATCH v7 5/7] virtiofsd: Add capability to change/restore umask

2021-06-28 Thread Dr. David Alan Gilbert
* Vivek Goyal (vgo...@redhat.com) wrote: > On Mon, Jun 28, 2021 at 07:36:18PM +0100, Dr. David Alan Gilbert wrote: > > * Vivek Goyal (vgo...@redhat.com) wrote: > > > On Mon, Jun 28, 2021 at 05:12:13PM +0100, Dr. David Alan Gilbert wrote: > > > > * Vivek Goyal (vgo...@redhat.com) wrote: > > > > >

Re: [PATCH v7 5/7] virtiofsd: Add capability to change/restore umask

2021-06-28 Thread Vivek Goyal
On Mon, Jun 28, 2021 at 07:36:18PM +0100, Dr. David Alan Gilbert wrote: > * Vivek Goyal (vgo...@redhat.com) wrote: > > On Mon, Jun 28, 2021 at 05:12:13PM +0100, Dr. David Alan Gilbert wrote: > > > * Vivek Goyal (vgo...@redhat.com) wrote: > > > > When parent directory has default acl and a file is

Re: [PATCH v7 5/7] virtiofsd: Add capability to change/restore umask

2021-06-28 Thread Dr. David Alan Gilbert
* Vivek Goyal (vgo...@redhat.com) wrote: > On Mon, Jun 28, 2021 at 05:12:13PM +0100, Dr. David Alan Gilbert wrote: > > * Vivek Goyal (vgo...@redhat.com) wrote: > > > When parent directory has default acl and a file is created in that > > > directory, then umask is ignored and final file

Re: [PATCH v7 5/7] virtiofsd: Add capability to change/restore umask

2021-06-28 Thread Vivek Goyal
On Mon, Jun 28, 2021 at 05:12:13PM +0100, Dr. David Alan Gilbert wrote: > * Vivek Goyal (vgo...@redhat.com) wrote: > > When parent directory has default acl and a file is created in that > > directory, then umask is ignored and final file permissions are > > determined using default acl instead.

Re: [PATCH v7 5/7] virtiofsd: Add capability to change/restore umask

2021-06-28 Thread Dr. David Alan Gilbert
* Vivek Goyal (vgo...@redhat.com) wrote: > When parent directory has default acl and a file is created in that > directory, then umask is ignored and final file permissions are > determined using default acl instead. (man 2 umask). > > Currently, fuse applies the umask and sends modified mode in

[PATCH v7 5/7] virtiofsd: Add capability to change/restore umask

2021-06-22 Thread Vivek Goyal
When parent directory has default acl and a file is created in that directory, then umask is ignored and final file permissions are determined using default acl instead. (man 2 umask). Currently, fuse applies the umask and sends modified mode in create request accordingly. fuse server can set