]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: VFS: vfs_ceph_snapshots: Make mknod return errno = EROFS on a shadow copy path.
authorJeremy Allison <jra@samba.org>
Thu, 8 Aug 2019 22:53:51 +0000 (15:53 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 9 Aug 2019 16:48:36 +0000 (16:48 +0000)
commit5b1f545589e0027e53d56058cbaaaa8c97eaf35d
treee466694f7b5866bfb3897e28325dc5292b0bb8e2
parenteac2ca755f5d09483465732e51ec5b51072628b2
s3: VFS: vfs_ceph_snapshots: Make mknod 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