dotcloud/docker

View on GitHub
builder/dockerfile/copy_windows.go

Summary

Maintainability
A
35 mins
Test Coverage

Function fixPermissionsWindows has 5 return statements (exceeds 4 allowed).
Open

func fixPermissionsWindows(source, destination, SID string) error {
    privileges := []string{winio.SeRestorePrivilege, idtools.SeTakeOwnershipPrivilege}

    err := winio.EnableProcessPrivileges(privileges)
    if err != nil {
Severity: Major
Found in builder/dockerfile/copy_windows.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status