mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
ceph-daemon: use uid/gid 0 when creating tempfiles
skip extraction of the uid/gid since `ceph-volume` runs as root Signed-off-by: Michael Fritch <mfritch@suse.com>
This commit is contained in:
parent
70a4a1a900
commit
caf38142d6
@ -1342,7 +1342,7 @@ def command_ceph_volume():
|
||||
if args.fsid:
|
||||
make_log_dir(args.fsid)
|
||||
|
||||
(uid, gid) = extract_uid_gid()
|
||||
(uid, gid) = (0, 0) # ceph-volume runs as root
|
||||
mounts = get_container_mounts(args.fsid, 'osd', None)
|
||||
|
||||
tmp_config = None
|
||||
|
Loading…
Reference in New Issue
Block a user