Bestandenpermissies |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
------------------------------------ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ls -ila |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ulefr01@franz3:~/cgcles/linux $ ls -ila * |
|
|
|
|
|
||||||||||||||
|
1207748 -rw-rw-r-- 1 ulefr01 cgc 2106540 2004-11-05 20:35 amd64.pdf |
|
|
|
|
|
||||||||||||||
|
1207749 -rw-rw-r-- 1 ulefr01 ulefr01 13512 2004-11-20 20:02 dv_talk.sxi |
|
|
|
|
|
||||||||||||||
|
1207747 -rw-rw-r-- 1 ulefr01 ulefr01 705142 2004-11-26 20:12 leslinux.sxi |
|
|
|
|
|
||||||||||||||
|
1207745 -rw-rw-r-- 1 ulefr01 ulefr01 4248259 2004-11-27 19:55 linuxcursus.sxw |
|
|
|
|
|
||||||||||||||
|
1209440 -rw-r--r-- 1 ulefr01 ulefr01 16537 2005-12-08 21:38 linuxles.odt |
|
|
|
|
|
||||||||||||||
|
1207746 -rw-rw-r-- 1 ulefr01 ulefr01 51314 2004-11-06 18:03 SPECS-AMD64-EN-light.pdf |
|
|
|
|
|
||||||||||||||
|
1207710 -rw-r--r-- 1 ulefr01 ulefr01 19544 2005-03-22 21:11 ubuntu_basics.pdf |
|
|
|
|
|
||||||||||||||
|
1207744 -rw-rw-r-- 1 ulefr01 ulefr01 25907 2004-11-20 19:41 ubuntu_basics.sxi |
|
|
|
|
|
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inode |
|
toegangsrechten v h bestand |
|
|
|
aantal namen |
de eigenaar |
de groep |
de grootte |
datum v. |
naam |
|
|
|
|||||
|
|
|
eigenaar |
|
|
groep |
|
|
iedereen |
|
|
v.h.bestand |
v.h.bestand |
|
in bytes |
aanmaak/wijziging |
v.h.bestand |
|
|
|
|
|
|
read |
write |
exe |
read |
write |
exe |
read |
write |
exe |
|
|
|
|
|
|
exe execute |
|
|
|
|
- |
r |
w |
x |
r |
w |
x |
r |
w |
x |
|
|
|
|
|
|
- = bestand |
|
|
|
|
|
400 |
200 |
100 |
40 |
20 |
10 |
4 |
2 |
1 |
|
|
|
|
|
|
gewicht bij chmod |
|
|
|
|
d |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
d = directory |
|
|
|
|
l |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
l = link |
|
|
|
|
c |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
c = teken bestand |
|
|
|
|
b |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
b = blokbestand |
|
|
|
1207748 |
- |
r |
w |
- |
r |
w |
- |
r |
- |
- |
1 |
ulefr01 |
cgc |
2106540 |
05/11/04 20:35 |
amd64.pdf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod 775 amd64.pdf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
- |
r |
w |
x |
r |
w |
x |
r |
- |
x |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod 600 amd64.pdf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
- |
r |
w |
- |
- |
- |
- |
- |
- |
- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod 4755 mijnscript |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setuid |
maakt het mogelijk |
|
||
|
|
- |
r |
w |
s |
r |
- |
x |
r |
- |
x |
|
|
|
|
|
|
|
om /var/log/messages |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod 2755 mijnscript |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setgid |
|
|
||
|
|
- |
r |
w |
- |
r |
- |
s |
r |
- |
x |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod 1755 mijnscript |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sticky bit |
user kan enkel maar |
|
||
|
|
- |
r |
w |
- |
r |
- |
x |
r |
- |
t |
|
|
|
|
|
|
|
zijn eigen bestanden |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
creëren, wijzigen of |
|
|
combinatie's zijn ook mogelijk |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wegdoen |
|
|||
|
chmod 7755 mijnscript |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
- |
r |
w |
s |
r |
- |
s |
r |
- |
t |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Immutable bit |
|
is iets anders en wordt niet opgenomen in de normale permission bits |
|
|
|
|
|
||||||||||||
|
|
|
wordt gebruikt om het per ongeluk verwijderen of overschrijven van zeer kritische bestanden te voorkomen |
|
|
|
|
|
||||||||||||
|
|
|
enkel root kan deze bit zetten |
|
|
|
|
|
||||||||||||
|
chattr +i /etc/passwd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|