GIT_DISCOVERY_ACROSS_FILESYSTEM problem when working with terminal and MacFusion
I got this error until I realized that I hadn’t intialized a Git repository in that folder, on a mounted vagrant machine. So I typed git init and then git worked.
I got this error until I realized that I hadn’t intialized a Git repository in that folder, on a mounted vagrant machine. So I typed git init and then git worked.
Currently, Upstart in Ubuntu does not generate network events. Instead it calls traditional sysvinit. By default NetworkManager is installed and running; rather than emit network events to upstart, it contains a run-parts dispatcher (/etc/NetworkManager/dispatcher.d/) which itself simply relies on ifupdown’s run-parts dispatcher (/etc/network/*.d/). In particular you care about /etc/network/if-up.d/ and /etc/network/if-down.d/ First set up a … Read more
Making an sshfs mount involves connecting across sftp. Hence, what you can do is look for the spawned sftp processes. Assuming the user andreas has made an sshfs mount, or logged in using regular sftp, you’ll see something along the following lines: root@halleck:~# ps aux | grep -i sftp | grep -v grep andreas 11029 … Read more
SSH is not designed to be a file transfer protocol. SSHFS works by periodically looking at the directory list and caching results. You can control the caching behavior, but at the cost of performance as it relates to interactivity. If the SSH host you are connecting is accessed via a high latency link, or slow … Read more
Try this: umount -f <absolute pathname to the mount point> Example: umount -f /Users/plummie/Documents/stanford If that doesn’t work, try the same command as root: sudo umount -f …
I suspect that this solution will not work for SSHFS, etc, but you could take a look at Mosh which provides roaming support for at least the shell itself.
Requires the following steps: uncomment user_allow_other in /etc/fuse.conf unmount the FUSE filesystem remount the FUSE filesystem with sshfs -o allow_other user@…. (making sure to include the -o allow_other option) try starting the container again
I’ve found the answer myself. The problem was that I didn’t use the option allow_other. sshfs -o allow_other -o kernel_cache -o auto_cache -o reconnect \ -o compression=no -o cache_timeout=600 -o ServerAliveInterval=15 \ xxx@yyy.yyy.yyy.yyy:/mnt/content /home/xxx/path_to/content To use this option you have to set the option user_allow_other in /etc/fuse.conf. When I did this I had another problem. … Read more
You are probably running rsync like this: rsync -a dir/ remote:/dir/ The -a option according to the documentation is equivalent to: -rlptgoD -a, –archive archive mode; equals -rlptgoD (no -H,-A,-X) You probably want to remove the -o and -g options: -o, –owner preserve owner (super-user only) -g, –group preserve group So instead your rsync command … Read more