[linux-cifs-client] Re: POSIX Create/Mkdir and mode

Jeremy Allison jra at samba.org
Thu Mar 8 20:30:31 GMT 2007


On Thu, Mar 08, 2007 at 02:02:35PM -0600, Steve French wrote:
> Jeremy Allison wrote:
> >On Thu, Mar 08, 2007 at 12:20:16AM -0600, Steve French wrote:
> >  
> >>Just notice in coding up PosixMkDir that mode in the UNIX_INFO_BASIC
> >>(original CIFS Unix Extensions) is 64 bit - not 32 bit as we have
> >>defined it in the new Posix Create/Mkdir call.
> >>
> >>This is probably harmless but wanted to see if anyone else is bothered
> >>by this.
> >>    
> >
> >Hmmm. Yep, you're right. If you want to change it now
> >is the last chance....
> >
> >  
> For Linux it looks like kernel_mode_t can't be bigger than 32 bits on 
> any arch, but what about for MacOS or Solaris or other Unix etc.

James, George - Eric (if you're on this list). Please let
me know ASAP if you need this changing in the server code.

Jeremy.


More information about the linux-cifs-client mailing list