This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin_internal(CW_CHECK_NTSEC, filename) patch


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.
>
>Thanks,
>Jason

Jason, 

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?

Thanks

Pierre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]