Skip to content

Commit

Permalink
doc: add rbd example to ceph-authtool man page
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Durgin <[email protected]>
  • Loading branch information
jdurgin committed Oct 2, 2012
1 parent 2e366ea commit 9362f72
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/man/8/ceph-authtool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ A librados user restricted to a single pool might look like::

osd = "allow rw pool foo"

A client using rbd with read access to one pool and read/write access to another::

mon = "allow r"

osd = "allow pool templates r class-read, allow pool vms rwx"

A client mounting the file system with minimal permissions would need caps like::

mds = "allow"
Expand Down
10 changes: 10 additions & 0 deletions man/ceph-authtool.8
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,16 @@ osd = "allow rw pool foo"
.ft P
.fi
.sp
A client using rbd with read access to one pool and read/write access to another:
.sp
.nf
.ft C
mon = "allow r"

osd = "allow pool templates r class\-read, allow pool vms rwx"
.ft P
.fi
.sp
A client mounting the file system with minimal permissions would need caps like:
.sp
.nf
Expand Down

0 comments on commit 9362f72

Please sign in to comment.