Awesome detail. Thanks eryk.
On Tue, 20 Sep 2016, 6:13 PM eryk sun wrote:
> On Mon, Sep 19, 2016 at 10:21 PM, Christopher Nilsson
> wrote:
> >
> > That doesn't seem like a bug to me. GENERIC_WRITE represents several
> > permissions mashed together, including FILE_WRITE and read control.
> >
> >
On Mon, Sep 19, 2016 at 10:21 PM, Christopher Nilsson wrote:
>
> That doesn't seem like a bug to me. GENERIC_WRITE represents several
> permissions mashed together, including FILE_WRITE and read control.
>
> Perhaps try with just FILE_WRITE on its own?
For a file or directory, GENERIC_WRITE (0x80
Hi Christopher,
Thanks for responding. Forgot to mention that I did test this with
FILE_GENERIC_WRITE also but the result is the same. If this
is applied on a folder it leaves the folder unopenable. If it's applied on
a file(say a.txt file), Notepad shows warning informing "Access Denied" but
can
I think file_generic_write will have the same problem.
You may want to check out:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa364399(v=vs.85).aspx
Note they explicitly say you can't deny generic_write without causing
problems.
Blocking access like this can get pretty fiddly. I ca