* fhandler_disk_file.cc (fhandler_cygdrive::fstat): Add standard read

permissions again.
This commit is contained in:
Corinna Vinschen 2010-03-19 10:59:49 +00:00
parent 60698cf37a
commit 0f6de51ae2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-03-19 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_cygdrive::fstat): Add standard read
permissions again.
2010-03-18 Corinna Vinschen <corinna@vinschen.de>
* shared.cc (init_installation_root): Change to make sure that scope of

View File

@ -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:";