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.shRelated terms
- owner, group and others — The three sets of people a Unix file's permissions are written for: its owning user, its group, and everyone else.
- ls — The command that lists the files and directories inside a directory.
- numeric mode — A permission setting written as three digits, one each for owner, group and others, where read is 4, write 2 and execute 1.
Taught in
- Permissions And Ownership — Bash Scripting & Command Line Automation