gittup/tup

"fusermount3: mount failed: Operation not permitted"

Opened this issue · 5 comments

I have a fresh install of Clearlinux on my laptop (not in a container);
installed tup from brew; I also built it from master
both of them show this error upon running /path/to/tup:

[ tup ] [0.000s] Scanning filesystem...
[ tup ] [0.003s] Reading in new environment variables...
[ tup ] [0.003s] Parsing Tupfiles...
fusermount3: mount failed: Operation not permitted
tup error: Timed out waiting for the FUSE file-system to be ready.
tup error: Unable to mount FUSE on .tup/mnt

Running tup as root bypasses this error, but the build will fail anyway due to environment variables and stuff

Do other FUSE clients work on your system? For example, can you mount something with sshfs? What are the permissions on the fusermount3 binary?

So, in my case it was somehow the libfuse package from brew messing with the platform-native fusermount3. Removing it got rid of the error entierly.

Unsure whether the problem is on brew side or on clearlinux side

Oh weird, I wouldn't have thought of that. I guess the two libfuses are different (incompatible) versions?

I can tell that clearlinux has version 3.14.0 currently : https://github.com/clearlinux-pkgs/fuse/blob/main/versions

Not sure if this is normal though that brew packages take precedence on native ones even for native softwares, but it's been a pain since i've been using brew for natively missing packages. Hopefully one can always brew uninstall --ignore-dependencies things to force the use of native dependencies instead

Same story on Ubuntu 23.10