argument to change uid/gid

This commit is contained in:
cathugger 2022-07-11 19:35:01 +03:00 committed by Neil
parent 9950d1225d
commit 7cd0f6b791
3 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,10 @@
//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris
// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package main
import "errors"
func chuser(user string) error {
return errors.New("setting uid/gid is not supported on this platform")
}