How do I mount sshfs at boot?

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

Why doesn’t SSHFS let me look into a mounted directory?

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

How to keep rsync from chown’ing transferred files?

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