Fixed the required access rights for formating a disk.
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.c
Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c
_____
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.c
--- trunk/reactos/lib/fslib/vfatlib/vfatlib.c 2005-03-20 01:58:54 UTC
(rev 14209)
+++ trunk/reactos/lib/fslib/vfatlib/vfatlib.c 2005-03-20 09:46:13 UTC
(rev 14210)
@@ -57,7 +57,7 @@
NULL);
Status = NtOpenFile(&FileHandle,
- FILE_WRITE_ACCESS | FILE_WRITE_ATTRIBUTES,
+ FILE_GENERIC_READ | FILE_GENERIC_WRITE,
&ObjectAttributes,
&Iosb,
FILE_SHARE_READ,
_____
Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c
--- trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c 2005-03-20 01:58:54 UTC
(rev 14209)
+++ trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c 2005-03-20 09:46:13 UTC
(rev 14210)
@@ -55,7 +55,7 @@
NULL);
Status = NtOpenFile(&FileHandle,
- FILE_WRITE_ACCESS | FILE_WRITE_ATTRIBUTES,
+ FILE_GENERIC_READ | FILE_GENERIC_WRITE,
&ObjectAttributes,
&Iosb,
FILE_SHARE_READ,
Show replies by date