We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e74b42 commit d2bbb04Copy full SHA for d2bbb04
pkg/csplugin/utils.go
@@ -110,7 +110,7 @@ func pluginIsValid(path string) error {
110
if err != nil {
111
return fmt.Errorf("while looking up the current uid: %w", err)
112
}
113
- stat := details.Sys().(*unix.Stat_t)
+ stat := details.Sys().(*syscall.Stat_t)
114
if stat.Uid != currentUID {
115
return fmt.Errorf("plugin at %s is not owned by user '%s'", path, currentUser.Username)
116
0 commit comments