Re: [PATCH] shell32: Allow copy operation to overwrite an existing write protected file + tests
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?
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.
participants (2)
-
Christian Costa -
Nikolay Sivov