Hi, On 01/11/2017 11:02 AM, Boris
Mattijssen wrote:
As far as I understand the mds caps, mds 'allow r' allows read-only access to all files; 'allow rw path=/boris' restricts write access to the given path. So your observations reflect the given permissions. You can configure ceph-fuse and kcephfs to use a given directory as 'root' directory of the mount point (e.g. ceph-fuse -r /boris). But I'm not sure whether - you need access to the root directory to mount with -r option - you can restrict the read-only access to the root directory without sub directories (e.g. 'allow r path=/, allow rw path=/boris' to allow mounting a sub directory only) Unfortunately the -r option is a client side option, so you have to trust your clients. Regards, Burkhard |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com