Re: file.c:246: Test failed: shouldn't be able to delete a readonly file
Mike McCormack wrote: Tom Spear (Dustin Booker, Dustin Navea) wrote: Hmm.. I'm thinking that the test isn't doing it right then... Cause windows will let you delete a readonly file, but it prompts you first Deleting using the UI isn't the same as a program using DeleteFile(). Mike Crap, you are right.. doing del in the command prompt returns access denied ok the test is right
Re: file.c:246: Test failed: shouldn't be able to delete a readonly file
Tom Spear (Dustin Booker, Dustin Navea) wrote: Hmm.. I'm thinking that the test isn't doing it right then... Cause windows will let you delete a readonly file, but it prompts you first Deleting using the UI isn't the same as a program using DeleteFile(). Mike
Re: file.c:246: Test failed: shouldn't be able to delete a readonly file
Huw D M Davies wrote: On Thu, Mar 23, 2006 at 01:24:53PM -0500, Matt Finnicum wrote: I'm at a windows XP machine right now. I have no trouble deleting read-only files - I get the dialog informing me it's read-only, but then it allows me to delete it. Is it the same on 95/98? How are you trying to delete them? The question is whether the DeleteFile() function works as tested - the way to find this is to run that test on Windows XP. Huw. I usually do Shift+Delete (skip the recycle bin), but delete will work to move a readonly file to the recycle bin as well... Tom
Re: file.c:246: Test failed: shouldn't be able to delete a readonly file
Huw D M Davies wrote: On Thu, Mar 23, 2006 at 06:04:21AM -0600, Tom Spear (Dustin Booker, Dustin Navea) wrote: Umm.. I'm not totally sure this is 100% in conformance with windows. When I try to delete a readonly file, I get a dialog telling me that it is readonly, and asking me if I really want to delete it. If we are completely disallowing removal of a readonly file (by windows standard, not linux' standard), then it is incorrect and should be fixed... Well the test passes on Win 2000. C:\>kernel32_crosstest.exe file file: 494243 test executed, 0 marked as todo, 0 failures. Huw. Hmm.. I'm thinking that the test isn't doing it right then... Cause windows will let you delete a readonly file, but it prompts you first Tom
Re: file.c:246: Test failed: shouldn't be able to delete a readonly file
On Thu, Mar 23, 2006 at 01:59:12PM -0500, Bryan Mayland wrote: > Huw D M Davies wrote: > >How are you trying to delete them? The question is whether the > >DeleteFile() function works as tested - the way to find this is to run > >that test on Windows XP. > > >DeleteFile on an read-only file under XP returns false. > GetLastError returns 5 (Access denied) Right, which is what we're testing for (well ok we don't test GetLastError). Huw.
Re: file.c:246: Test failed: shouldn't be able to delete a readonly file
Huw D M Davies wrote: How are you trying to delete them? The question is whether the DeleteFile() function works as tested - the way to find this is to run that test on Windows XP. DeleteFile on an read-only file under XP returns false. GetLastError returns 5 (Access denied)
Re: file.c:246: Test failed: shouldn't be able to delete a readonly file
On Thu, Mar 23, 2006 at 01:24:53PM -0500, Matt Finnicum wrote: > I'm at a windows XP machine right now. > > I have no trouble deleting read-only files - I get the dialog informing me > it's read-only, but then it allows me to delete it. > > Is it the same on 95/98? How are you trying to delete them? The question is whether the DeleteFile() function works as tested - the way to find this is to run that test on Windows XP. Huw.
Re: file.c:246: Test failed: shouldn't be able to delete a readonly file
I'm at a windows XP machine right now. I have no trouble deleting read-only files - I get the dialog informing me it's read-only, but then it allows me to delete it.Is it the same on 95/98?--MurphOn 3/23/06, Huw D M Davies <[EMAIL PROTECTED]> wrote: On Thu, Mar 23, 2006 at 06:04:21AM -0600, Tom Spear (Dustin Booker, Dustin Navea) wrote:> Umm.. I'm not totally sure this is 100% in conformance with windows.> When I try to delete a readonly file, I get a dialog telling me that it > is readonly, and asking me if I really want to delete it. If we are> completely disallowing removal of a readonly file (by windows standard,> not linux' standard), then it is incorrect and should be fixed... >Well the test passes on Win 2000.C:\>kernel32_crosstest.exe filefile: 494243 test executed, 0 marked as todo, 0 failures.Huw.--Huw Davies [EMAIL PROTECTED]
Re: file.c:246: Test failed: shouldn't be able to delete a readonly file
On Thu, Mar 23, 2006 at 06:04:21AM -0600, Tom Spear (Dustin Booker, Dustin Navea) wrote: > Umm.. I'm not totally sure this is 100% in conformance with windows. > When I try to delete a readonly file, I get a dialog telling me that it > is readonly, and asking me if I really want to delete it. If we are > completely disallowing removal of a readonly file (by windows standard, > not linux' standard), then it is incorrect and should be fixed... > Well the test passes on Win 2000. C:\>kernel32_crosstest.exe file file: 494243 test executed, 0 marked as todo, 0 failures. Huw. -- Huw Davies [EMAIL PROTECTED]
file.c:246: Test failed: shouldn't be able to delete a readonly file
Umm.. I'm not totally sure this is 100% in conformance with windows. When I try to delete a readonly file, I get a dialog telling me that it is readonly, and asking me if I really want to delete it. If we are completely disallowing removal of a readonly file (by windows standard, not linux' standard), then it is incorrect and should be fixed... Tom Igor Sysoev wrote: file.c:246: Test failed: shouldn't be able to delete a readonly file