Mwnci issetgid() Function

Syntax

issetgid(string)

Description

The issetgid() function returns true if the path points to a file that has the setgid bit set for file permissions

Example

include("file")
println(issetgid("/usr/bin/ssh-agent"))
println(issetgid("/usr/bin/passwd"))

true
false