All of lore.kernel.org
 help / color / mirror / Atom feed
* file_mode, dir_mode ignored when unix extensions are negotiated?
@ 2012-07-30 12:11 Suresh Jayaraman
       [not found] ` <501679EF.7070507-IBi9RG/b67k@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Suresh Jayaraman @ 2012-07-30 12:11 UTC (permalink / raw)
  To: linux-cifs

Do we ignore file_mode and dir_mode options when the unix extensions
have been negotiated? On a 3.1 based kernel, I see file_mode, dir_mode
options are not being honoured when mounting a Samba Server (Linux) with
unix extensions enabled. So, the expected behavior is to get the mode
from the server and not allow the client to override the modes?

This behavior looks different from the smbfs behavior. I couldn't
recollect or find from mailing list threads why it has done to be this
way. Could someone please enlighten me?


Thanks
Suresh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: file_mode, dir_mode ignored when unix extensions are negotiated?
       [not found] ` <501679EF.7070507-IBi9RG/b67k@public.gmane.org>
@ 2012-08-03 12:47   ` Suresh Jayaraman
  0 siblings, 0 replies; 2+ messages in thread
From: Suresh Jayaraman @ 2012-08-03 12:47 UTC (permalink / raw)
  To: linux-cifs, Steve French

(Sorry about the self-reply)

On 07/30/2012 05:41 PM, Suresh Jayaraman wrote:
> Do we ignore file_mode and dir_mode options when the unix extensions
> have been negotiated? On a 3.1 based kernel, I see file_mode, dir_mode
> options are not being honoured when mounting a Samba Server (Linux) with
> unix extensions enabled. So, the expected behavior is to get the mode
> from the server and not allow the client to override the modes?
> 
> This behavior looks different from the smbfs behavior. I couldn't
> recollect or find from mailing list threads why it has done to be this
> way. Could someone please enlighten me?
> 

http://lists.samba.org/archive/linux-cifs-client/2006-December/001627.html

>From this thread, the reason seems to be that we don't want to change
the behavior as there would be users who might want to use the
uid/gid/mode from the server when Unix Extensions are enabled.

So, I'd assume that the rationale remains the same unless someone tells
me that is wrong.


Thanks
Suresh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-03 12:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-30 12:11 file_mode, dir_mode ignored when unix extensions are negotiated? Suresh Jayaraman
     [not found] ` <501679EF.7070507-IBi9RG/b67k@public.gmane.org>
2012-08-03 12:47   ` Suresh Jayaraman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.