Re: CephFS writes = Permission denied

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

 



I thought that I had corrected that already and apparently I was wrong.  The permissions set on MDS for the user mounting the filesystem needs to be "rw".  Mine was set to "r'. 

ceph auth caps client.cephfs mon 'allow r' mds 'allow rw' osd 'allow rwx pool=cephfs_metadata,allow rwx pool=cephfs_data'

Thanks!


Nate Curry



On Tue, Apr 12, 2016 at 3:56 PM, Gregory Farnum <gfarnum@xxxxxxxxxx> wrote:
On Tue, Apr 12, 2016 at 12:20 PM, Nate Curry <curry@xxxxxxxxxxxxx> wrote:
> I am seeing an issue with cephfs where I am unable to write changes to the
> files system in anyway.  I am running commands using sudo with a user
> account as well as the root user itself to modify ownership of files, delete
> files, and create new files and all I get is "Permission denied".
>
> At first I thought maybe there was something wrong with the file system and
> it was no longer read write but everything seems to check out.  It is not
> mounted as read only, ceph is reporting HEALTH_OK, and there is nothing in
> any of the logs that look like errors.  I am able to unmount and remount the
> filesystem without any issues.  It also reboots and mounts no problem.  I am
> not sure what this could be caused by.  Any ideas?

Sounds like you've got your cephx permission caps set wrong.
http://docs.ceph.com/docs/master/cephfs/client-auth/

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

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


  Powered by Linux