s3: VFS: Make ntimes return errno = EROFS on a shadow copy path.
commit15761609ee9bf5b1276992103f3b4ebbda9c5e83
authorJeremy Allison <jra@samba.org>
Thu, 1 Aug 2019 20:29:54 +0000 (1 13:29 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 7 Aug 2019 16:40:30 +0000 (7 16:40 +0000)
tree1b3a89aa6f97100380e42e4a08768216045e103c
parent68330458e6e3ccc0e5a62d3fa5b99a66d02771ac
s3: VFS: Make ntimes return errno = EROFS on a shadow copy path.

smbd has no business modifying a shadow copy filesystem, it should be read-only.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_shadow_copy2.c