diff --git a/conversions.go b/conversions.go index 66be34f..26c27c1 100644 --- a/conversions.go +++ b/conversions.go @@ -856,6 +856,9 @@ func convertAttributes( case in.Mode&os.ModeSocket != 0: out.Mode |= syscall.S_IFSOCK } + if in.Mode&os.ModeSetuid != 0 { + out.Mode |= syscall.S_ISUID + } } // Convert an absolute cache expiration time to a relative time from now for