cygwin_internal(CW_CHECK_NTSEC, filename) patch
Pierre A. Humblet
Thu Apr 3 04:29:00 GMT 2003
At 02:18 PM 4/2/2003 -0500, Jason Tishler wrote:
>On Wed, Apr 02, 2003 at 01:33:04PM -0500, Christopher Faylor wrote:
>> 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 ()".
>See attached for take 2.
this might return true on Win9X if a user has defined
CYGWIN=ntsec and checks a file mounted on an NT class machine.
You need to add && wincap.has_security().
Also, it's sometimes useful to know the value of allow_ntsec alone.
Could you return that, e.g. if filename is NULL?
More information about the Cygwin-patches