Commit 503825fd authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed a conversion bug.

parent ff420379
......@@ -439,7 +439,7 @@ func convertAttributes(
out.Gid = in.Gid
// Set the mode.
out.Mode = uint32(in.Mode) & 077
out.Mode = uint32(in.Mode) & 0777
switch {
default:
out.Mode |= syscall.S_IFREG
......
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