permission string

The ten characters at the start of an ls -l line, such as -rwxr-xr--, showing a file's type and its permissions.

In more detail

The first character is - for a file, d for a directory or l for a link. Then come three groups of r, w and x for the owner, the group and others, with a dash where a right is withheld.

Example

-rwxr-xr-- 1 ada staff 1024 build.sh

Related terms

Taught in

References