[PATCH] shell32: Allow copy operation to overwrite an existing write protected file + tests

Christian Costa titan.costa at wanadoo.fr
Fri Feb 19 09:44:54 CST 2010


Nikolay Sivov a écrit :
>
> On 2/19/2010 17:34, Christian Costa wrote:
>> ---
>>
>>   dlls/shell32/shlfileop.c       |   10 +++++++++-
>>   dlls/shell32/tests/shlfileop.c |   20 ++++++++++++++++++++
>>   2 files changed, 29 insertions(+), 1 deletions(-)
>>    
> Correct me if I'm wrong, but isn't SetFileAttributes dependent on user 
> security permissions?
> I mean will it work as expected if this call fails for that reason?
>
>
>
I would say yes wrt SetFileAttributes. And no, it will not work if the 
call fails.
I've just see that the move operation already implement does a similar 
things.
Everything should work fine as long as there is a sigle user which is 
what most
people does I guess.





More information about the wine-devel mailing list