Commit 659cc51b authored by Michael Stapelberg's avatar Michael Stapelberg Committed by GitHub

convertAttributes: set S_ISUD bit from os.FileMode’s os.ModeSetuid (#58)

parent cd3c1bb4
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment