libcephfs permission check does not allow some operations for
non-root userm, disable the permission check for mount tests.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
CephMount mount = new CephMount("admin");
if (conf_file != null)
mount.conf_read_file(conf_file);
+ mount.conf_set("client_permissions", "0");
mount.mount(root);
return mount;
}
String conf_file = System.getProperty("CEPH_CONF_FILE");
if (conf_file != null)
mount.conf_read_file(conf_file);
+ mount.conf_set("client_permissions", "0");
mount.mount(null);