I've mounted a file system under SSHFS that I previously was using with NFS4 without issues.
user@server:/mnt/a/folder /mnt/folder fuse.sshfs defaults,default_permissions,_netdev,allow_other,uid=1000,gid=1000 0 0
and with NFS
server:/mnt/a/folder /mnt/folder nfs4 defaults,default_permissions 0 0
The SSHFS folder mounts and the directory permissions look the same as they are on the remote machine, but when I try to modify/add a file on the file system that belongs to the owning user, I get a permission denied error.
Users on the remote and client machine have the same UID/GID. The file is being mounted under fstab and version 2.5-1ubuntu1 of SSHFS.