Allow setting sticky bit in tmpfs permissions.

PiperOrigin-RevId: 221683127
Change-Id: Ide6a9f41d75aa19d0e2051a05a1e4a114a4fb93c
This commit is contained in:
Nicolas Lacasse
2018-11-15 13:48:59 -08:00
committed by Shentubot
parent 9d8e49d950
commit 6ef08c2bc2
+1 -1
View File
@@ -44,7 +44,7 @@ const (
)
// modeRegexp is the expected format of the mode option.
var modeRegexp = regexp.MustCompile("^0?[0-7][0-7][0-7]$")
var modeRegexp = regexp.MustCompile("^[0-1]?[0-7][0-7][0-7]$")
// Filesystem is a tmpfs.
//