Re: CephFS no permissions for subdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>:

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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx


_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux