sazius is a user on soc.ialis.me. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
sazius @sazius

I had a weird problem: 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 ๐Ÿ˜‰

ยท 1 ยท 2

@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 :-)