I had a weird problem: #Emacs would reliably lock up any time I tried to save a file on a drive mounted over sshfs. Turns out Emacs lock files (weird symlinks that don't point to actual files) where somehow not interpreted correctly over sshfs. Emacs ended up in an infinite loop trying to create and verify the symlink. My solution was to simply disable lock files, like this: (setq create-lockfiles nil). I've never had any use for them anyway 🙂

I thought I'd document this somewhere 😉


@sazius you could also use Tramp to access files over ssh... But you probably already know this. ;)

@beni Yes I know, but in this case also need to access the files outside of Emacs so this was the more convenient solution. But yes tramp is very handy in most situations :-)

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko