mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +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")
|
logrus.Info("running as rootless")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Be sure we can create directories with 0755 mode.
|
||||||
|
syscall.Umask(0022)
|
||||||
|
|
||||||
if logLevel == "debug" {
|
if logLevel == "debug" {
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user