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

James Peach jpeach at samba.org
Fri Mar 9 05:52:48 GMT 2007


On 08/03/2007, at 12:30 PM, Jeremy Allison wrote:

> 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.

64 bits is fine by me, as long as no-one expects the upper 4 bytes to  
do anything useful :)

--
James Peach | jpeach at samba.org




More information about the linux-cifs-client mailing list