shadow_copy2_realpath() snapshot path component removal

David Disseldorp ddiss at suse.de
Thu Feb 13 15:21:36 MST 2014



On February 13, 2014 11:00:37 PM CET, Richard Sharpe <realrichardsharpe at gmail.com> wrote:

>One thing I notice in looking at the code is that it does not seem to
>behave the way Windows really does.
>
>For example, if your snapshots are read-only, I suspect that users
>will get ACCESS_DENIED messages when trying to open a shadow-copy file
>for write-like access, but Windows allows such access and returns
>VOLUME_WRITE_PROTECTED when you try to actually perform write-like
>operations.

I expect that's just a side-effect of VSS doing the COW snapshot at the block layer.
I.e. The filesystem/SD permit write access, but the IOs are rejected at the device layer.

Cheers, David


More information about the samba-technical mailing list