[linux-cifs-client] unable to chmod

Juran David ext-david.juran at nokia.com
Wed Jan 31 17:54:42 GMT 2007


On Wed, 2007-01-31 at 09:42 -0800, ext Jeremy Allison wrote:

> > mount.cifs works, but I can´t change file permissions (chmod, ...).
> > Everytime I try, it uses the settings of "create_mask" in the servers
> > smb.conf instead of my given values, but the file isn´t created, it is
> > already there.
> > With Windows it´s working.
> 
> This is by design. If you set a create mask on a share
> it will always be applied to all creates via Windows
> or UNIX.

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?

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


More information about the linux-cifs-client mailing list