]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_authtool: add mode option 21197/head
authorSébastien Han <seb@redhat.com>
Fri, 23 Jun 2017 13:45:57 +0000 (15:45 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 3 Apr 2018 08:00:01 +0000 (10:00 +0200)
commitda899e566864ef53a389957020494959058e12de
treea1691e082c090acc0ebd949173d9a7eff003cb2a
parent256e379dcaa625c4c31cd4ca2996a3724b601391
ceph_authtool: add mode option

We now have the ability to set the keyring file mode with the help of
'--mode MODE'. The mode needs to be specified in octal using the format:
0600.

Closes: http://tracker.ceph.com/issues/23513
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit b179cd275526613a3838cb52e6f1c35950b6f3a8)
13 files changed:
doc/man/8/ceph-authtool.rst
src/test/cli/ceph-authtool/add-key-segv.t
src/test/cli/ceph-authtool/add-key.t
src/test/cli/ceph-authtool/cap-bin.t
src/test/cli/ceph-authtool/cap-invalid.t
src/test/cli/ceph-authtool/cap-overwrite.t
src/test/cli/ceph-authtool/cap.t
src/test/cli/ceph-authtool/create-gen-list-bin.t
src/test/cli/ceph-authtool/create-gen-list.t
src/test/cli/ceph-authtool/help.t
src/test/cli/ceph-authtool/manpage.t
src/test/cli/ceph-authtool/simple.t
src/tools/ceph_authtool.cc