From 0f6de51ae2581e950a1c19d7027f159445a64a30 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 19 Mar 2010 10:59:49 +0000 Subject: [PATCH] * fhandler_disk_file.cc (fhandler_cygdrive::fstat): Add standard read permissions again. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_disk_file.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index fb2250735..892255c45 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2010-03-19 Corinna Vinschen + + * fhandler_disk_file.cc (fhandler_cygdrive::fstat): Add standard read + permissions again. + 2010-03-18 Corinna Vinschen * shared.cc (init_installation_root): Change to make sure that scope of diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index 04eceaf24..b9877208a 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -2235,7 +2235,7 @@ fhandler_cygdrive::fstat (struct __stat64 *buf) { fhandler_base::fstat (buf); buf->st_ino = 2; - buf->st_mode = S_IFDIR | S_IXUSR | S_IXGRP | S_IXOTH; + buf->st_mode = S_IFDIR | STD_RBITS | STD_XBITS; if (!ndrives) set_drives (); char flptst[] = "X:";