Merge pull request #18683 from estesp/no-dev-symlink-chown
Remove unecessary chown on mqueue device path Upstream-commit: 33abc6f8af0fce5bd3923a3e8a1f5748f282ec92 Component: engine
This commit is contained in:
@ -888,9 +888,6 @@ func (daemon *Daemon) setupIpcDirs(c *container.Container) error {
|
||||
if err := syscall.Mount("mqueue", mqueuePath, "mqueue", uintptr(syscall.MS_NOEXEC|syscall.MS_NOSUID|syscall.MS_NODEV), ""); err != nil {
|
||||
return fmt.Errorf("mounting mqueue mqueue : %s", err)
|
||||
}
|
||||
if err := os.Chown(mqueuePath, rootUID, rootGID); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user