mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
Merge pull request #2088 from giuseppe/umask-to-0
podman: set umask to 022
This commit is contained in:
@ -161,6 +161,9 @@ func main() {
|
||||
logrus.Info("running as rootless")
|
||||
}
|
||||
|
||||
// Be sure we can create directories with 0755 mode.
|
||||
syscall.Umask(0022)
|
||||
|
||||
if logLevel == "debug" {
|
||||
debug = true
|
||||
|
||||
|
Reference in New Issue
Block a user