issetgid

issetgid(path) -> Bool

Returns true if path has the setgid flag set, false otherwise.

Examples

julia> issetgid("/path/to/file")
false

This example checks if the file at "/path/to/file" has the setgid flag set. In this case, it returns false indicating that the setgid flag is not set.

Common mistake example:

julia> issetgid("nonexistent/file")
ERROR: SystemError: incorrect function name

In this example, the function call fails because the provided path does not exist. Make sure to provide a valid path to an existing file or directory when using issetgid.

See Also

abspath, basename, chmod, countlines, cp, ctime, dirname, download, evalfile, expanduser, fdio, filemode, filesize, functionloc, gperm, homedir, include_string, isabspath, isblockdev, ischardev, isdir, isdirpath, isexecutable, isfifo, isfile, islink, ismount, ispath, isreadable, issetgid, issetuid, issticky, iswritable, joinpath, less, lstat, mkdir, mkpath, mktemp, mktempdir, mtime, mv, normpath, operm, poll_fd, poll_file, readall, readcsv, readdir, readdlm, readlines, readlink, realpath, relpath, rm, splitdir, splitdrive, splitext, stat, symlink, tempdir, tempname, touch, truncate, uperm, watch_file, writecsv,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: