1 parent
200a399b4d
commit
3f3ee2c0e1
5 files changed
+5
-5
No files matched your search
@@ -33,7 +33,7 @@ func ListenUnix(path string, allowedUIDs []uint32) (*UnixServer, error) {
|
||||
if err := validateControlDirectory(parent); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := os.Chmod(parent, 0750); err != nil {
|
||||
if err := os.Chmod(parent, 0750); err != nil { // #nosec G302
|
||||
return nil, fmt.Errorf("set control directory permissions: %w", err)
|
||||
}
|
||||
if info, err := os.Lstat(path); err == nil {
|
||||
|
||||
Reference in new issue
Block a user