func Ownership(uid, gid int) Option {
	return optionFunc(func(c *config) error {
		if c.uid != defaultConfig().uid || c.gid != defaultConfig().gid {
			return &werror{"multiple ownership", nil}
		}
		c.uid, c.gid = uid, gid
		return nil
	})
}
// Ownership specifies the target file owner UID and GID.
Ownership specifies the target file owner UID and GID.
// Ownership specifies the target file owner UID and GID .
func Ownership(uid, gid int) Option {
	return optionFunc(func(c *config) error {
		if c.uid != defaultConfig().uid || c.gid != defaultConfig().gid {
			return &werror{"multiple ownership", nil}
		}
		c.uid, c.gid = uid, gid
		return nil
	})
}
func Ownership ( uid , gid int ) Option { return optionFunc ( func ( c * config ) error { if c . uid != defaultConfig ( ) . uid || c . gid != defaultConfig ( ) . gid { return & werror { " " , nil } } c . uid , c . gid = uid , gid return nil } ) }
Ownership specifies the target file owner UID and GID.
Ownership specifies the target file owner UID and GID .