Actions
Feature #38370
closedceph CLI ability to change file ownership
% Done:
0%
Source:
Tags:
Backport:
luminous, mimic
Reviewed:
Description
When creating/fetching a key/monmap/crushmap it might be useful (especially for file used by a process later) to apply the right permission at request time.
The idea is to implement the --setuser and --setgroup flag that get be used like this:
[root@ceph-nano-test-faa32aebf00b /]# ceph --setuser ceph --setgroup ceph -n mon. -k /var/lib/ceph/mon/ceph-ceph-nano-test-faa32aebf00b/keyring auth get-or-create osd.3 mon "allow profile osd" osd "allow *" mgr "allow profile osd" -o /var/lib/ceph/osd/ceph-1/les222 [root@ceph-nano-test-faa32aebf00b /]# ls -al /var/lib/ceph/osd/ceph-1/les222 -rw-r--r--. 1 ceph ceph 56 Feb 18 18:16 /var/lib/ceph/osd/ceph-1/les222
Updated by Greg Farnum about 5 years ago
- Project changed from Ceph to RADOS
- Status changed from New to Fix Under Review
Updated by Sage Weil about 5 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler about 5 years ago
- Copied to Backport #38510: luminous: ceph CLI ability to change file ownership added
Updated by Nathan Cutler about 5 years ago
- Copied to Backport #38511: mimic: ceph CLI ability to change file ownership added
Updated by Nathan Cutler almost 5 years ago
- Status changed from Pending Backport to Resolved
Actions