This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: cygwin_internal(CW_CHECK_NTSEC, filename) patch
On Wed, Apr 02, 2003 at 01:22:13PM -0500, Jason Tishler wrote:
>On Wed, Apr 02, 2003 at 10:42:58AM -0500, Christopher Faylor wrote:
>> Why are you essentially duplicating all of the checking that already
>> happens with the wincap stuff?
>
>I checked wincap before I started and somehow missed is_winnt(). Doh!
>However, I could not find the equivalent of the HAS_NTSEC_BY_DEFAULT
>functionality in wincap. What other functionality am I duplicating?
If you just do a path_conv on a path, you can check the 'has_acls ()'
flag. I think this just devolves to "allow_ntsec && win32_path.has_acls ()".
cgf