]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: configurable uid/gid on new root inos
authorJohn Spray <john.spray@redhat.com>
Tue, 28 Jul 2015 10:13:21 +0000 (11:13 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 28 Jul 2015 13:14:58 +0000 (14:14 +0100)
commit4e42414021fc0926390c3b3714f4f3f7fab3027a
tree7dec90b96d8000f875c19dbc1663f2c6eadec930
parent9d80d447f06318672e6c75b59ad8ac1d4b3a6a36
mds: configurable uid/gid on new root inos

This is to deal with the slightly perverse situation
where a user might have all the permissions they need
to create a filesystem and mount it with fuse, but then
be unable to do anything inside the mount because
we default to creating a root-owned "/" inode.

This is immediatley useful for dev/test environments without
root, but also potentially in production environments
where the filesystem configuration/mounting is done by
someone less privileged than root.

Signed-off-by: John Spray <john.spray@redhat.com>
src/common/config_opts.h
src/mds/MDCache.cc