LEARN / GUIDE
Linux permissions
Permissions describe read, write and execute access for owner, group and others. In numeric modes, read=4, write=2 and execute=1.
What to remember
For directories, execute permission means traversal. Recursive changes affect every descendant; avoid broad permissions such as 777. Ownership, ACLs and mount options also influence access.
An example to inspect
chmod -- 755 ./script.shTry the related tool ↗Examples target GNU/Linux and Bash. Read your locally installed manual before applying commands to important data.