Re: [PATCH 053/104] virtiofsd: Drop CAP_FSETID if client asked for it

2020-01-16 Thread Sergio Lopez
Dr. David Alan Gilbert (git) writes: > From: Vivek Goyal > > If client requested killing setuid/setgid bits on file being written, drop > CAP_FSETID capability so that setuid/setgid bits are cleared upon write > automatically. > > pjdfstest chown/12.t needs this. > > Signed-off-by: Vivek Goyal

Re: [PATCH 053/104] virtiofsd: Drop CAP_FSETID if client asked for it

2020-01-15 Thread Misono Tomohiro
> From: Vivek Goyal > > If client requested killing setuid/setgid bits on file being written, drop > CAP_FSETID capability so that setuid/setgid bits are cleared upon write > automatically. > > pjdfstest chown/12.t needs this. > > Signed-off-by: Vivek Goyal > dgilbert: reworked for libcap-ng

[PATCH 053/104] virtiofsd: Drop CAP_FSETID if client asked for it

2019-12-12 Thread Dr. David Alan Gilbert (git)
From: Vivek Goyal If client requested killing setuid/setgid bits on file being written, drop CAP_FSETID capability so that setuid/setgid bits are cleared upon write automatically. pjdfstest chown/12.t needs this. Signed-off-by: Vivek Goyal dgilbert: reworked for libcap-ng --- tools/virtiofs