Scott,

You nailed it on the head with the O_INHERITMODE flag.

Thanks!

Roger


On 11/7/2006 5:01 PM, Scott Klement wrote:
Does the O_INHERITMODE flag help?  I haven't experimented with it much, 
but you might try it and see whether it helps.

The other possibility is to use the Qp0lGetAttr() and qp0lSetAttr() APIs 
to retrieve the attributes of the directory, and set them in the file, 
respectively.  This would certainly be more work (especially if the 
O_INHERITMODE solves the problem!) but you'd only have to write the 
routine once and stick it in a service program...

  



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.