Skip to content

Commit 0c0408c

Browse files
authored
Merge pull request kubernetes#76407 from yanghaichao12/dev0411
change directory permissions from 0755 to 0750
2 parents 74cbf0d + 5cbafba commit 0c0408c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/cm/devicemanager/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ func (m *ManagerImpl) Start(activePods ActivePodsFunc, sourcesReady config.Sourc
231231
}
232232

233233
socketPath := filepath.Join(m.socketdir, m.socketname)
234-
os.MkdirAll(m.socketdir, 0755)
234+
os.MkdirAll(m.socketdir, 0750)
235235
if selinux.SELinuxEnabled() {
236236
if err := selinux.SetFileLabel(m.socketdir, config.KubeletPluginsDirSELinuxLabel); err != nil {
237237
klog.Warningf("Unprivileged containerized plugins might not work. Could not set selinux context on %s: %v", m.socketdir, err)

0 commit comments

Comments
 (0)