mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6578ad90c3
This sets up the umask so that it's the same on all systems. Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
23 lines
513 B
Go
23 lines
513 B
Go
// +build daemon
|
|
|
|
package main
|
|
|
|
import (
|
|
apiserver "github.com/docker/docker/api/server"
|
|
"github.com/docker/docker/daemon"
|
|
)
|
|
|
|
func setPlatformServerConfig(serverConfig *apiserver.ServerConfig, daemonCfg *daemon.Config) *apiserver.ServerConfig {
|
|
return serverConfig
|
|
}
|
|
|
|
// currentUserIsOwner checks whether the current user is the owner of the given
|
|
// file.
|
|
func currentUserIsOwner(f string) bool {
|
|
return false
|
|
}
|
|
|
|
// setDefaultUmask doesn't do anything on windows
|
|
func setDefaultUmask() error {
|
|
return nil
|
|
}
|