Actions
Feature #15264
closedlibcephfs: enable non-"ll" users to set their uid/gid
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:
Description
Currently libcephfs mostly doesn't pass through a uid/gid to Client, and Client defaults to reading the uid/gid of the process where it's running.
For some cases, like Manila, we would like to be able to declare ourselves as uid 0 in order to be able to e.g. delete share directories even when some other client mounted and wrote things as root. Folks like nfs-ganesha handle this by using the ll functions throughout, but this shouldn't be necessary.
Plan is to add uid/gid args to ceph_create and remember them on the CephMount structure.
Actions