all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* encfs: fusermount: mount failed: Operation not permitted
@ 2018-05-10  8:49 Pierre Neidhardt
  2018-05-10  9:05 ` Pierre Neidhardt
  2018-05-14  9:14 ` Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: Pierre Neidhardt @ 2018-05-10  8:49 UTC (permalink / raw)
  To: help-guix@gnu.org

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


I can't seem to be able to decrypt my encfs folders anymore:

--8<---------------cut here---------------start------------->8---
> encfs /foo /foo_mount
fusermount: mount failed: Operation not permitted
fuse failed.  Common problems:
 - fuse kernel module not installed (modprobe fuse)
 - invalid options -- see usage message
--8<---------------cut here---------------end--------------->8---

I'm quite sure it used to work on GuixSD, but I might be wrong.

Note that I use a custom kernel.  I've tried on Linux 4.14.33 and
4.16.6, same error.

--
Pierre Neidhardt

The more the merrier.
		-- John Heywood

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: encfs: fusermount: mount failed: Operation not permitted
  2018-05-10  8:49 encfs: fusermount: mount failed: Operation not permitted Pierre Neidhardt
@ 2018-05-10  9:05 ` Pierre Neidhardt
  2018-05-14  9:14 ` Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Pierre Neidhardt @ 2018-05-10  9:05 UTC (permalink / raw)
  To: help-guix@gnu.org

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


By the way encfs is out-of-date: repo version is 1.9.1, but 1.9.5 is
out:

https://github.com/vgough/encfs/releases

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: encfs: fusermount: mount failed: Operation not permitted
  2018-05-10  8:49 encfs: fusermount: mount failed: Operation not permitted Pierre Neidhardt
  2018-05-10  9:05 ` Pierre Neidhardt
@ 2018-05-14  9:14 ` Ludovic Courtès
  2018-05-14  9:21   ` Pierre Neidhardt
  1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2018-05-14  9:14 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: help-guix@gnu.org

Hello Pierre,

Pierre Neidhardt <ambrevar@gmail.com> skribis:

> I can't seem to be able to decrypt my encfs folders anymore:
>
>> encfs /foo /foo_mount
> fusermount: mount failed: Operation not permitted
> fuse failed.  Common problems:
>  - fuse kernel module not installed (modprobe fuse)
>  - invalid options -- see usage message

Did you try “sudo modprobe fuse” or similar?

> By the way encfs is out-of-date: repo version is 1.9.1, but 1.9.5 is
> out:

Please send a patch!  :-)  Hopefully ‘guix refresh -u encfs’ will do
most of the work, then all you need is build it and ensure it works for
you.  See
<https://www.gnu.org/software/guix/manual/html_node/Contributing.html>,
and do ask questions if you’re unsure about the workflow!

Thanks,
Ludo’.

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

* Re: encfs: fusermount: mount failed: Operation not permitted
  2018-05-14  9:14 ` Ludovic Courtès
@ 2018-05-14  9:21   ` Pierre Neidhardt
  2018-05-14 17:39     ` Pierre Neidhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2018-05-14  9:21 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix@gnu.org

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


Ludovic Courtès <ludo@gnu.org> writes:

> Did you try “sudo modprobe fuse” or similar?

Forgot to mention it, but yes I did :)

Fuse is not loaded on startup.
After encfs has failed:

> lsmod | grep fuse
fuse                  102400  0

rmmod + modprobe does not fix it.

>> By the way encfs is out-of-date: repo version is 1.9.1, but 1.9.5 is
>> out:
>
> Please send a patch!  :-)

I will, but there is little I can test if the Fuse error persists.

-- 
Pierre Neidhardt


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: encfs: fusermount: mount failed: Operation not permitted
  2018-05-14  9:21   ` Pierre Neidhardt
@ 2018-05-14 17:39     ` Pierre Neidhardt
  2018-05-30 19:00       ` Pierre Neidhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2018-05-14 17:39 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix@gnu.org

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


I tried mounting an NTFS partition using ntfs-3g, which relies on FUSE:
it works.  I conclude that FUSE works on my computer.  So this is
(probably) not a kernel / FUSE problem.

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: encfs: fusermount: mount failed: Operation not permitted
  2018-05-14 17:39     ` Pierre Neidhardt
@ 2018-05-30 19:00       ` Pierre Neidhardt
  2018-06-02 10:59         ` Pierre Neidhardt
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Neidhardt @ 2018-05-30 19:00 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix@gnu.org

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


I've tried updating encfs to 1.9.5 (latest version) to no avail.

I've reported the issue upstream:

	https://github.com/vgough/encfs/issues/527

Can anyone try to reproduce?  It's easy, simply install encfs and run

> encfs -v ~/foo ~/foo_mount

Use the defaults and enter a password.  If there is no

--8<---------------cut here---------------start------------->8---
fusermount: mount failed: Operation not permitted
fuse failed.  Common problems:
 - fuse kernel module not installed (modprobe fuse)
 - invalid options -- see usage message
--8<---------------cut here---------------end--------------->8---

Then you are good and it's a problem on my end.

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: encfs: fusermount: mount failed: Operation not permitted
  2018-05-30 19:00       ` Pierre Neidhardt
@ 2018-06-02 10:59         ` Pierre Neidhardt
  0 siblings, 0 replies; 7+ messages in thread
From: Pierre Neidhardt @ 2018-06-02 10:59 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix@gnu.org

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


Got it!

`fusermount` needs the setuid bit to run properly, but I had installed
`fuse` in my user-profile which put a fusermount link in
~/.guix-profile/bin which has precedence over /run/setuid-programs in my
PATH.

Removing `fuse` from my user-profile fixed it.

That said, shouldn't setuid-programs have precedence over user-installed
programs?
What do you think?

-- 
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2018-06-02 10:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-10  8:49 encfs: fusermount: mount failed: Operation not permitted Pierre Neidhardt
2018-05-10  9:05 ` Pierre Neidhardt
2018-05-14  9:14 ` Ludovic Courtès
2018-05-14  9:21   ` Pierre Neidhardt
2018-05-14 17:39     ` Pierre Neidhardt
2018-05-30 19:00       ` Pierre Neidhardt
2018-06-02 10:59         ` Pierre Neidhardt

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.