M01: Introduction to Operating Systems
TU1: Installing, configuring and exploiting a computer system
ASIX1
Practical Exercise 6b: Permissions and ownership (2n part)
29-11-13

Practical Exercise 6b: Permissions and ownership (2nd part)

GENERAL CONDITIONS
1- Deadline: 15-12-2013.
2- Send your report as a PDF file attached to an e-mail with the following specifications:
     a) E-mail address:
cf(at)collados.org or jordi.binefa(at)fje.edu depending who is your teacher
     b) File Name:
       b.1) ASIX1 (Catalan): asix1_surname_name_m01tu01pr6b.pdf
       b.2)
DAW1 (English): daw1_surname_name_m01tu01pr6b.pdf
     c) Subject:
        c.1) ASIX1 (Catalan): asix1_surname_name_m01tu01pr6b
        c.2) DAW1 (English): daw1_surname_name_m01tu01pr6b
3- Make this report individually.
4- Left, right, top and bottom margins: 2cm.
5- Character format: a) Font: Arial, b) Size: 10, c) Questions typeface: Bold, d) Answers typeface: Regular
6- Page numbering on footer bar

PRACTICAL EXERCISE
1- Using the symbolic mode, add the read permission for the owner to folder folder00.
2- Using the symbolic mode, and running a single command, add the read permission for the group and others  to folder folder00.
3- Using the symbolic mode, and running a single command, remove the write permission for the group and others  from folder folder00.
4- Using the symbolic mode, and running a single command, remove the execute permission for the owner, group and others  from folder folder00.
5-Using the symbolic mode, remove the write permission for the owner to folder folder00.
6-
Using the symbolic mode, and running a single command, add the write and execute permissions for the owner, group and others  to folder folder00.
7- Using the symbolic mode, and running a single command, remove any kind of permission for any user from folder folder00.
8- Using the symbolic mode, and running a single command, give  read, write and execute  permissions for any user to folder folder00.
9- What doest it happen if you run the following command: chmod -x folder00?. Find another command which can perfom identical changes in the folder permissions.
10- Set sys as the owner of folder00.
11- Set users as the group of folder00.
12- Runnig a single command set mail as the owner and adm as the group of folder00
13- Creates the following directory tree in your home folder:
games
├── cars
│   ├── f1
│   └── rally
├── sim
│   ├── city
│   ├── company
│   └── train
└── war
    ├── doom
    └── quake
Runnig a single command and using the recursive option, check the default permissions of any file or folder in games.
14- Runnig a single command and  using the recursive option, set the following permissions to any file or folder   in games:  a) owner: read, write and execute, b) group: read and c) other: none. Check the default permissions of any files or folder in games.
15- Runnig a single command, using the recursive option, set root as the owner and users as the group of games. Check the owner and group of any file or folder in games.
16- Remove recursively folder00 and games.