New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the X-mount.idmap option in fstab #2829
Comments
You can use name="value", for example: X-mount.idmap="u:1000:0:1 g:1001:1:2 5000:1000:2" |
Not in fstab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to automatically mount cephfs from a remote cluster on my machine. Since the users and groups on the local and remote machines are different, I use idmap. However, there is no way to add such a mount point to /etc/fstab. User and group mappings must be separated by a space, which results in a read error. Specifying the X-mount.idmap option twice does not work. Specifying a file with mappings as a parameter results in the "Inappropriate ioctl for device" error.
In my Gentoo I solved the problem by making a patch that adds "_" as an alternative separator. But I would like this problem to be solved properly.
The text was updated successfully, but these errors were encountered: