All of lore.kernel.org
 help / color / mirror / Atom feed
* dumb question or not?
@ 2012-02-03 17:35 Space Cake
  2012-02-06 17:51 ` Dustin Kirkland
  0 siblings, 1 reply; 3+ messages in thread
From: Space Cake @ 2012-02-03 17:35 UTC (permalink / raw)
  To: ecryptfs

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

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:



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4899 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dumb question or not?
  2012-02-03 17:35 dumb question or not? Space Cake
@ 2012-02-06 17:51 ` Dustin Kirkland
       [not found]   ` <4F30E66D.707@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Dustin Kirkland @ 2012-02-06 17:51 UTC (permalink / raw)
  To: Space Cake; +Cc: ecryptfs

On Fri, Feb 3, 2012 at 11:35 AM, Space Cake <spacecakex@gmail.com> wrote:
> 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*

-- 
:-Dustin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dumb question or not?
       [not found]   ` <4F30E66D.707@gmail.com>
@ 2012-02-07 18:56     ` Dustin Kirkland
  0 siblings, 0 replies; 3+ messages in thread
From: Dustin Kirkland @ 2012-02-07 18:56 UTC (permalink / raw)
  To: Space Cakex; +Cc: ecryptfs

2012/2/7 Space Cakex <spacecakex@gmail.com>:
> 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.

-- 
:-Dustin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-07 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03 17:35 dumb question or not? Space Cake
2012-02-06 17:51 ` Dustin Kirkland
     [not found]   ` <4F30E66D.707@gmail.com>
2012-02-07 18:56     ` Dustin Kirkland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.