diff options
Diffstat (limited to 'pkg/sentry/fs')
-rw-r--r-- | pkg/sentry/fs/tmpfs/fs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/tmpfs/fs.go b/pkg/sentry/fs/tmpfs/fs.go index 453ed5bd9..2e57f2b42 100644 --- a/pkg/sentry/fs/tmpfs/fs.go +++ b/pkg/sentry/fs/tmpfs/fs.go @@ -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. // |