* fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES to
access flags in case of query_read_control case, add FILE_READ_DATA in case of query_stat_control.
This commit is contained in:
parent
f41c4c7ced
commit
b65479ca2e
|
@ -1,3 +1,9 @@
|
|||
2006-02-22 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES to
|
||||
access flags in case of query_read_control case, add FILE_READ_DATA
|
||||
in case of query_stat_control.
|
||||
|
||||
2006-02-20 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* spawn.cc (av::fixup): Check for .bat and friends specifically now
|
||||
|
|
|
@ -586,11 +586,11 @@ fhandler_base::open (int flags, mode_t mode)
|
|||
switch (query_open ())
|
||||
{
|
||||
case query_read_control:
|
||||
access = READ_CONTROL;
|
||||
access = READ_CONTROL | FILE_READ_ATTRIBUTES;
|
||||
create_options = FILE_OPEN_FOR_BACKUP_INTENT;
|
||||
break;
|
||||
case query_stat_control:
|
||||
access = READ_CONTROL | FILE_READ_ATTRIBUTES;
|
||||
access = READ_CONTROL | FILE_READ_ATTRIBUTES | FILE_READ_DATA;
|
||||
create_options = FILE_OPEN_FOR_BACKUP_INTENT;
|
||||
break;
|
||||
case query_write_control:
|
||||
|
|
Loading…
Reference in New Issue