diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5175ad274..818532520 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Sun May 13 22:49:04 2001 Christopher Faylor + + * path.cc (path_conv::check): Revert allow_ntsec check so that volume + info is always retrieved and isdisk setting is properly set. + Sun May 13 14:02:36 2001 Christopher Faylor * fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 3fb4f56c3..43a0bfe8b 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -639,9 +639,9 @@ out: strcpy (tmp_buf, this->path); - if (allow_ntsec && (!rootdir (tmp_buf) || + if (!rootdir (tmp_buf) || !GetVolumeInformation (tmp_buf, NULL, 0, &serial, NULL, - &volflags, fs_name, 16))) + &volflags, fs_name, 16)) { debug_printf ("GetVolumeInformation(%s) = ERR, this->path(%s), set_has_acls(FALSE)", tmp_buf, this->path, GetLastError ());