[linux-cifs-client] Re: POSIX Create/Mkdir and mode
Jeremy Allison
jra at samba.org
Fri Mar 9 19:01:00 GMT 2007
On Fri, Mar 09, 2007 at 10:01:25AM -0600, Steve French wrote:
> I have mixed feelings about this - 64 bits is clearly safest and easiest
> to explain otherwise having a mismatched size with the Unix Info call
> could lead people to do dumb/incompatible things and make implementation
> errors. 64 bits should not hurt performance but my scan shows typical
> mode_t is unsigned short or int and I don't see any platforms that are
> over 32 bits.
>
> In the definition of the original cifs unix extensions this field was
> not called "mode" but "unix file permissions?"
As per conversations I've now changed this in server and libsmb client
code to be 64 bits.
Jeremy.
More information about the linux-cifs-client
mailing list