Hi,
I'd tried to make this:
ceph auth caps client.XYZ mon 'allow r' mds 'allow r, allow rws
path=/XYZ, allow path=/ABC' osd 'allow rw pool=cephfs_data'
do you want to remove all permissions from path "/ABC"? If so you
should simply remove that from the command:
ceph auth caps client.XYZ mon 'allow r' mds
'allow r, allow rwx
path=/XYZ' osd 'allow rw pool=cephfs_data'
I'm not aware of a 'rws' capability, using that also leads to an
error. You should either set 'rw' or 'rwx' (or maybe it was just a
typo?).
Regards,
Eugen
Zitat von Lars Täuber <taeuber(a)bbaw.de>de>:
> Hi!
>
> Is it possible and if yes how to remove any permission to a subdir
> for a user.
>
I'd tried to make this:
ceph auth caps client.XYZ mon 'allow r' mds 'allow r, allow rws
path=/XYZ, allow path=/ABC' osd 'allow rw pool=cephfs_data'
>
> but got:
> Error EINVAL: mds capability parse failed, stopped at ', allow
> path=/ABC' of 'allow r, allow rws path=/XYZ, allow path=/ABC'
>
> Thanks
> Lars
> _______________________________________________
> ceph-users mailing list -- ceph-users(a)ceph.io
> To unsubscribe send an email to ceph-users-leave(a)ceph.io