[PROPOSAL] extend UNIX_INFO2 to flag extended access controls (take 2)

George Colley gcolley at apple.com
Fri Jan 25 21:19:39 GMT 2008


On Jan 25, 2008, at 11:22 AM, David Collier-Brown wrote:

> James Peach wrote:
>> On Jan 25, 2008, at 10:09 AM, simo wrote:
>
>>> Wouldn't it make sense to use an "access" call implemented by CIFS
>>> server instead ?
>> In the long run, we ought to have an access call as well. That's  
>> just  not something I have a detailed proposal for yet.
>
> Hmmn, Multics and perhaps Knuthput used to have an "initiate" call  
> which you used before an open, but if I understand it correctly
> the Unix folks rejected it as overly racey, and defined (f)open
> and fstat, used in that oder.
>
> Are there cases where we actually need the full accessibility
> information but aren't going to open the file?  That does
> seem faintly implausible...
I get ask all the time if the user has read/write/execute access to an  
item. In most cases it has nothing to do with open.
>
>
> --dave
> -- 
> David Collier-Brown            | Always do right. This will gratify
> Sun Microsystems, Toronto      | some people and astonish the rest
> davecb at sun.com                 |                      -- Mark Twain
> (800) 555-9786 x56583 cell: (647) 833-9377 home off: (416)  
> 223-5943                      bridge: (877) 385-4099 code: 506 9191#



More information about the samba-technical mailing list