gittup / tup

Tup is a file-based build system.
http://gittup.org/tup/
GNU General Public License v2.0
1.18k stars 145 forks source link

Tup doesn't work with sshfs #322

Open kozross opened 7 years ago

kozross commented 7 years ago

If I mount a directory with sshfs that contains a .tup directory and a Tupfile, and try to run tup upd, I get the following:

open(".", 0): Permission denied
tup error: Could not get reference to current directory?

Is there a fix for this?

gittup commented 7 years ago

On Sun, Jul 16, 2017 at 6:46 PM, Koz Ross notifications@github.com wrote:

If I mount a directory with sshfs that contains a .tup directory and a Tupfile, and try to run tup upd, I get the following:

open(".", 0): Permission denied tup error: Could not get reference to current directory?

Is there a fix for this?

When I try to run tup through sshfs, I get a bad mountpoint from FUSE instead of this error. I'm not really sure how you are getting this error message, though. Are you running tup as a different user from the one that mounted sshfs? Since tup tries to create the fuse mountpoint in the .tup directory, that won't work through sshfs. So we'd probably need to fix that too for this to work.

kozross commented 7 years ago

As far as I can tell, the same user. I've tried this on several machines, and I get the same message every time. I'm on Arch Linux, if that helps any.