Replies: 4 comments
-
|
Hi, not sure about android. Maybe look what
https://github.com/hardcore-sushi/DroidFS does?
…On Thu, 6 Apr 2023, 00:18 Mohammed Salah, ***@***.***> wrote:
Hello hello,
I'm trying to make gocryptfs work on Android (termux). I can build and
execute the binary as usual but when I try to decrypt some folder using:
gocryptfs <encrypted directory> <MOUNTPOINT>
It gives me the following error:
fs.Mount failed: fusermount exited with code 31
I looked up this exit code for fusermount but I couldn't find anything
useful. And I tried to understand it further by adding this log statement
tlog.Info.Printf("mountpoint: %v\nrootNode: %v", args.mountpoint, rootNode)
where the code is failing here:
https://github.com/rfjakob/gocryptfs/blob/24b3978715186bed3edc2703e81f165a73c0a74a/mount.go#L475
and I got this output
Decrypting master key
mountpoint: /data/data/com.termux/files/home/internal/obsidian
rootNode: i0 ():
fs.Mount failed: fusermount exited with code 31
The mount point seem to be correct, but I don't know if rootNode is, do
you have any insight on how I can go around this? My feeling is that it is
a problem with the fusermount dependency.
—
Reply to this email directly, view it on GitHub
<#727>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACGA7YMJ2HH5EWECNGLJ7DW7XVSJANCNFSM6AAAAAAWUUMKUY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
fuse only works as root on Android And you must use the -nosyslog option. ... |
Beta Was this translation helpful? Give feedback.
-
Oh that's unfortunate, do you know of any other alternative to this method? |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello hello,
I'm trying to make
gocryptfswork on Android (termux). I can build and execute the binary as usual but when I try to decrypt some folder using:It gives me the following error:
I looked up this exit code for
fusermountbut I couldn't find anything useful. And I tried to understand it further by adding this log statementwhere the code is failing here:
gocryptfs/mount.go
Line 475 in 24b3978
and I got this output
The mount point seem to be correct, but I don't know if
rootNodeis, do you have any insight on how I can go around this? My feeling is that it is a problem with thefusermountdependency.Edit:
I'm using the latest version from master (24b3978)
Beta Was this translation helpful? Give feedback.
All reactions