Errror with Ecryptfs-mount-private due to setreuid
up vote
0
down vote
favorite
Following the archlinux guide on ecryptfs I worked on creating a passthrough encrypted folder on /home/share. I am doing this on OpenSUSE leap 15 with ecryptfs-utils. I properly generated the fstab like config file I called share.conf, and share.sig. Then I loaded the proper key into the kernel keyring. However when I run:
mount.ecryptfs_private share
I get the following output:
setreuid: Operation not permitted
At first this was cause by improper permissions for /sbin/mount.ecryptfs_private. I solved this with a reinstall and now the permissions are:
-rwxr-xr-x 1 root root 34152 Aug 20 12:49 /sbin/mount.ecryptfs
Any thoughts on what to do? I know from the code that mount.ecryptfs_private has do complex things with permissions because it needs root access to mount a fs, but needs to be the user to access their keyring, so it seems to be a fragile setup. I might start looking into SELinux settings for ecryptfs
linux permissions encryption mount opensuse
add a comment |
up vote
0
down vote
favorite
Following the archlinux guide on ecryptfs I worked on creating a passthrough encrypted folder on /home/share. I am doing this on OpenSUSE leap 15 with ecryptfs-utils. I properly generated the fstab like config file I called share.conf, and share.sig. Then I loaded the proper key into the kernel keyring. However when I run:
mount.ecryptfs_private share
I get the following output:
setreuid: Operation not permitted
At first this was cause by improper permissions for /sbin/mount.ecryptfs_private. I solved this with a reinstall and now the permissions are:
-rwxr-xr-x 1 root root 34152 Aug 20 12:49 /sbin/mount.ecryptfs
Any thoughts on what to do? I know from the code that mount.ecryptfs_private has do complex things with permissions because it needs root access to mount a fs, but needs to be the user to access their keyring, so it seems to be a fragile setup. I might start looking into SELinux settings for ecryptfs
linux permissions encryption mount opensuse
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Following the archlinux guide on ecryptfs I worked on creating a passthrough encrypted folder on /home/share. I am doing this on OpenSUSE leap 15 with ecryptfs-utils. I properly generated the fstab like config file I called share.conf, and share.sig. Then I loaded the proper key into the kernel keyring. However when I run:
mount.ecryptfs_private share
I get the following output:
setreuid: Operation not permitted
At first this was cause by improper permissions for /sbin/mount.ecryptfs_private. I solved this with a reinstall and now the permissions are:
-rwxr-xr-x 1 root root 34152 Aug 20 12:49 /sbin/mount.ecryptfs
Any thoughts on what to do? I know from the code that mount.ecryptfs_private has do complex things with permissions because it needs root access to mount a fs, but needs to be the user to access their keyring, so it seems to be a fragile setup. I might start looking into SELinux settings for ecryptfs
linux permissions encryption mount opensuse
Following the archlinux guide on ecryptfs I worked on creating a passthrough encrypted folder on /home/share. I am doing this on OpenSUSE leap 15 with ecryptfs-utils. I properly generated the fstab like config file I called share.conf, and share.sig. Then I loaded the proper key into the kernel keyring. However when I run:
mount.ecryptfs_private share
I get the following output:
setreuid: Operation not permitted
At first this was cause by improper permissions for /sbin/mount.ecryptfs_private. I solved this with a reinstall and now the permissions are:
-rwxr-xr-x 1 root root 34152 Aug 20 12:49 /sbin/mount.ecryptfs
Any thoughts on what to do? I know from the code that mount.ecryptfs_private has do complex things with permissions because it needs root access to mount a fs, but needs to be the user to access their keyring, so it seems to be a fragile setup. I might start looking into SELinux settings for ecryptfs
linux permissions encryption mount opensuse
linux permissions encryption mount opensuse
asked Nov 18 at 2:22
Micah
314
314
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376358%2ferrror-with-ecryptfs-mount-private-due-to-setreuid%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown