Closed desdic closed 2 years ago
The type is not *syscall.Stat_t
try seeing if this type works for you: https://github.com/pkg/sftp/blob/v1.13.5/attrs.go#L45-L57
I’m still not entirely sure it will work, I was in the middle of rewriting all the client stuff when I got sidetracked with other (paid) stuff.
Well I haven't tried to look for the inode yet but I can tell you that the UID/GID works perfectly .. thank you!
I'm trying to get the uid/gid (from a Linux server) but when trying it doesn't seem to work
I can see from the implementation that Attributes should be available but I cannot figure out how to get to them