Hi Daleep,
Thank you for reply. I have read the document for a moment. Let me try to clarify this.
In my case, I only assgin “mon ‘allow r” permission to account appuser. But, I still can mount cephfs and see the directory created before(the folder name is “test”).
And, I can create a folder under this folder too. (the folder is “test2”) However, when I created and edited an text file(“test.txt”) with a read only error.When I quit with "q!", I still see the file with 0 bytes.
I'm wondering I must misunderstand something. I thought I shouldn't see this folder "test" because the user didn't have the read/write permission against any pool in this cluster. I shouldn't create the "test.txt" in this folder too because of premission.(But, I CREATED it with nothing)
Let's say assigning an OS user permission(for example, Linux). I have to give read permission if a user want to read a file; If it has to execute a script, I have to grant the exeucte permission. I want to understand when and why I should assign which permssion to an user by meeting a special task. Can I find this kind of document?
Thanks, Dillon 发件人: Daleep Singh Bais <daleepbais@xxxxxxxxx>
发送时间: 2016年9月27日 6:55:10 收件人: 卢 迪; ceph-users@xxxxxxxxxxxxxx 主题: Re: Ceph user manangerment question Hi Dillon,
Ceph uses CephX authentication, which gives permission to users on selected Pools to read / write. We give mon 'allow r' to get cluster/Crush map for client. You can refer to below URL for more information on CephX and creating user keyrings for access to selected / specific pools. http://docs.ceph.com/docs/jewel/rados/configuration/auth-config-ref/
The below URL will give you information on various permissions which can be applied while creating a CephX authentication key. http://docs.ceph.com/docs/firefly/rados/operations/auth-intro/
Hope this will give some insight and way forward to proceed. Thanks, Daleep Singh Bais On 09/27/2016 12:02 PM, 卢 迪 wrote:
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com