]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: VFS: vfs_ceph_snapshots: Make unlink return errno = EROFS on a shadow copy path.
authorJeremy Allison <jra@samba.org>
Thu, 8 Aug 2019 22:45:10 +0000 (15:45 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 9 Aug 2019 16:48:36 +0000 (16:48 +0000)
commit9f457799a92c34bf8c881142b308a37648bea943
treea05bf99b608e067fa9d29deccdb1697d60ca00b8
parent76bf8a1ac438056691fef667bf214f9fe7bafe14
s3: VFS: vfs_ceph_snapshots: Make unlink 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: David Disseldorp <ddiss@samba.org>
source3/modules/vfs_ceph_snapshots.c