The following is a sample run of the umask command.

What will be an ideal response?


```
$ umask
022
$
```
With the mask value 022, the default permission on a text file will be 666 - 022 = 644, which is r-xr--r--. The default permission on a directory will be 777 - 022 = 755, which is rwxr-xr-x. The following session confirms these arguments.```
$ mkdir dir1
$ ls -ld dir1
drwxr-xr-x 2 msarwar faculty 4096 Dec 16 2002 dir1
$ vi file1

$ ls -l file1
-rw-r--r-- 1 msarwar faculty 5 Dec 16 2002 file1
$
```

Computer Science & Information Technology

You might also like to view...

Ensuring proper alignment between overall information security goals and the activities of application and system security requires a ____.

A. process B. team C. method D. plan

Computer Science & Information Technology

Documenting is a way of writing numbers that are otherwise too big or too small to be written in traditional decimal format

Indicate whether the statement is true or false

Computer Science & Information Technology

Examples of pull technology include online social networks and photo- and video-sharing sites.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

____ is a Linux-based operating system developed by the Open Handset Alliance.

A. Android B. UNIX C. Mac OS X D. Vista

Computer Science & Information Technology