]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart: set cephfs root uid/gid to caller 6255/head
authorJohn Spray <john.spray@redhat.com>
Tue, 13 Oct 2015 13:41:39 +0000 (14:41 +0100)
committerJohn Spray <john.spray@redhat.com>
Wed, 14 Oct 2015 01:28:35 +0000 (02:28 +0100)
So that when running cluster as unprivileged user,
can do a ceph-fuse mount and then access it without
going root.

Signed-off-by: John Spray <john.spray@redhat.com>
src/vstart.sh

index 679d33a16140b0f16c5659cc2a94cc74479694ba..d2e28e87bd62bdb4ae093919cedb8946c724b254 100755 (executable)
@@ -450,6 +450,8 @@ $CMDSDEBUG
         mds debug auth pins = true
         mds debug subtrees = true
         mds data = $CEPH_DEV_DIR/mds.\$id
+        mds root ino uid = `id -u`
+        mds root ino gid = `id -g`
 $extra_conf
 [osd]
 $DAEMONOPTS