rclone/cmd/serve/nfs
Nick Craig-Wood 30ef1ddb23
Some checks failed
Docker beta build / Build image job (push) Has been cancelled
serve nfs: fix missing inode numbers which was messing up ls -laR
In 6ba3e24853

    serve nfs: fix incorrect user id and group id exported to NFS #7973

We updated the stat function to output uid and gid. However this set
the inode numbers of everything to -1. This causes a problem with
doing `ls -laR` giving "not listing already-listed directory" as it
uses inode numbers to see if it has listed a directory or not.

This patch reads the inode number from the vfs.Node and sets it in the
Stat output.
2025-01-09 18:55:18 +00:00
..
cache_test.go serve nfs: implement --nfs-cache-type symlink 2025-01-09 18:55:18 +00:00
cache.go serve nfs: implement --nfs-cache-type symlink 2025-01-09 18:55:18 +00:00
filesystem.go serve nfs: fix missing inode numbers which was messing up ls -laR 2025-01-09 18:55:18 +00:00
handler.go serve nfs: unify the nfs library logging with rclone's logging better 2024-09-04 10:50:21 +01:00
nfs_unsupported.go build: fix linting issues reported by golangci-lint on windows 2024-04-22 19:29:12 +02:00
nfs.go serve nfs: implement --nfs-cache-type symlink 2025-01-09 18:55:18 +00:00
server.go serve nfs: unify the nfs library logging with rclone's logging better 2024-09-04 10:50:21 +01:00
symlink_cache_linux.go serve nfs: implement --nfs-cache-type symlink 2025-01-09 18:55:18 +00:00
symlink_cache_other.go serve nfs: implement --nfs-cache-type symlink 2025-01-09 18:55:18 +00:00