Deni Alfarouqi
2255301039
Kelas TI C
Ls -l
Chmod u+x f1
Chmod g=w f1
Chmod o-r f1
Ls -l
Chmod a=x f2
Chmod u+x,g-r,o=w f3
Ls -l
Chmod 751 f1
Chmod 624 f2
Chmod 430 f3
Ls -l
$ chown studentX:student f1
$ chown studentX:student f2 f3
$ ls -l
$ id
$ ls -l
$ chgrp root f1
$ ls –l
$ chgrp other f3
$ ls -l
Percobaan 5:
User Mask
1. Menentukan ijin akses awal pada saat file atau directori dibuat
$ touch myfile
$ ls -l myfile
$ umask
$ touch file_baru
$ mkdir mydir
$ ls -l
$ umask 077
$ touch xfiles
$ mkdir xdir
$ ls -l
Percobaan 6:
Simbolic Link
1. Link file
$ echo “Hallo apa khabar” > halo.txt
$ ls -l
$ ln halo.txt z
$ ls -l
$ cat z
$ mkdir mydir
$ ln z mydir/halo.juga
$ cat mydir/halo.juga
$ ls -l mydir
2. Symbolic Link file
$ ln /home/studentX/z /tmp/halo.txt
$ ln -s /home/studentX/z /tmp/halo.txt
$ ls -l /tmp/halo.txt
$ cat /tmp/halo.txt