-
Notifications
You must be signed in to change notification settings - Fork 253
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs.Mount
with fusermount
fails on Android (termux)
#727
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: ***@***.***>
|
fuse only works as root on Android And you must use the -nosyslog option. ... |
Oh that's unfortunate, do you know of any other alternative to this method? |
Repository owner
locked and limited conversation to collaborators
May 16, 2023
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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:It gives me the following error:
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 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
rootNode
is, do you have any insight on how I can go around this? My feeling is that it is a problem with thefusermount
dependency.Edit:
I'm using the latest version from master (24b3978)
The text was updated successfully, but these errors were encountered: