School of Computing. Dublin City University.
Online coding site: Ancient Brain
coders JavaScript worlds
user group other [ ][ ][ ] [ ][ ][ ] [ ][ ][ ] r - read (can do ls) w - write x - search (can access files given their name)
[r][-][x] |
write-protect for safety annoying? |
[r][w][x] | normal |
[r][w][x] |
shared writable directory can create/delete files |
[r][-][x] |
shared read-only directory can do ls |
[-][-][x] |
shared read-only dir can't do ls can access file if know its name can't explore without filenames
Example: "share" in my home dir.
Example: web dir |
[-][-][-] | normal - hidden |
ls -ld /users/tutors/mhumphrysdculab (note "--x") ls -ld /users/tutors/mhumphrysdculab/share (note "r-x") cd /users/tutors/mhumphrysdculab ls (fails) cd share (works) ls (works)
drwx-----x executabledir drwx---r-x readabledirCommand-line shows they both have files in them.
drwx-----x