Skip to contentSkip to conversation

dumb question or not?

DISCUSSION Space Cake 2 participants 3 messages Feb 3, 2012 – Feb 7, 2012 1 message not in the archive Ecrypt file system

lore
Share & tools
lore

Space Cake

author
#0 lore raw

Hi,

After some kernel update and I've got the following error when I try to mount .private

setreuid: Operation not permitted
ERROR: Could not mount private ecryptfs directory

same error when I try to re-create encrypted directory... what's wrong?

Thank you
L:

#1 lore raw
Quoted 7 lines · Space Cake

After some kernel update and I've got the following error when I try to mount .private

setreuid: Operation not permitted
ERROR:  Could not mount private ecryptfs directory

same error when I try to re-create encrypted directory... what's wrong?

What are the permissions of /sbin/mount.ecryptfs_private? It should look like this, 4755.

$ ls -alF /sbin/mount.ecryptfs_private
-rwsr-xr-x 1 root root 18784 2011-12-13 15:11 /sbin/mount.ecryptfs_private*
Signature · 6 lines
:-Dustin

Dustin Kirkland
Chief Architect
Gazzang, Inc.
www.gazzang.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

2012/2/7 Space Cakex <[email protected]>:

Quoted 9 lines

It is slightly different

-rws--x--x 1 root root 13740 febr   3 18.36 /sbin/mount.ecryptfs_private*

since my last mail I have re-emerged ecryptfs utils with suid flag, so now I can mount my private

is this really absolutely necessary to have suid bit on the executables? This is looks dangerous to me :)

Well, it's required if you want your non-root user to be able to mount your private directory.

Otherwise, you can mount it manually by hand as root.

Signature · 6 lines
:-Dustin

Dustin Kirkland
Chief Architect
Gazzang, Inc.
www.gazzang.com