Re: [NFS] [RFC:PATCH] How best to handle implicit clearing of setuid/setgid bits on NFS?

2007-07-24 Thread Jeff Layton
On Mon, 23 Jul 2007 16:33:23 -0400 Trond Myklebust [EMAIL PROTECTED] wrote: What is so bloody difficult about remembering to support ATTR_KILL_SUID ATTR_KILL_SGID vs all the other ATTR_* flags if you are choosing to implement your own .setattr? As long as there exists a simple VFS helper to do

Re: [NFS] [RFC:PATCH] How best to handle implicit clearing of setuid/setgid bits on NFS?

2007-07-23 Thread Trond Myklebust
On Mon, 2007-07-23 at 15:05 -0400, Jeff Layton wrote: On Thu, 28 Jun 2007 09:38:22 -0400 Trond Myklebust [EMAIL PROTECTED] wrote: On Wed, 2007-06-27 at 22:13 -0400, Jeff Layton wrote: Ok. This is a bit more complex now since we remove suid bits on truncate, but don't set ATTR_FORCE.