[linux-cifs-client] unable to chmod

Juran David ext-david.juran at nokia.com
Wed Jan 31 18:51:58 GMT 2007


On Wed, 2007-01-31 at 10:28 -0800, ext Jeremy Allison wrote:
> On Wed, Jan 31, 2007 at 07:54:42PM +0200, Juran David wrote:
> > 
> > I think you misunderstood the question. I just stumbled upon this
> > behaviour as well and the point is that this is not a create. The file
> > already exists, but still the 'create mask' blocks the 'chmod' operation
> > (regardless of the security mask). Is that intended?
> 
> Yes. "create mask" is a misnomer - it's a generic mask
> on operations to ensure things filtered by the administrator
> remain filtered.

I see... But isn't that function supposed to be covered by the 'security
mask' parameter? As I see it, the drawback of having the 'create mask'
as a "generic" mask is that one might want to have a certain default
mode for newly created files, but still allow users to change to
"higher" permissions on files once they are created. 

-- 
David Juran
Sr. Consultant
Red Hat
+358-504-146348


More information about the linux-cifs-client mailing list