Home > Archive > Linux/Unix > December 2003 > Terminal QOD for 12-16-03





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Terminal QOD for 12-16-03
Boulware5

2003-12-16, 9:24 pm

You have a file named data and you want the following permissions: read, write, and execute for the owner... read and write for the group... and just read for everyone else. What is the correct command to accomplish this?

a. chmod 764 data
b. chmod 761 data
c. chmod 774 data
d. chmod 766 data
e. chmod data 764
f. chmod data 774
Papiya

2003-12-17, 7:23 am

a
Boulware5

2003-12-21, 2:42 am

Only 1 person knows?
Tarzanboy

2003-12-22, 1:06 pm

The structure is:
command options file

Numeric Options are:
4+2+1 = 7 for read, write and execute
4+2+0 = 6 for read and write
4+0+1 = 5 for read and execute
4+0+0 = 4 for read only
0+2+1 = 3 for write and execute
0+2+0 = 2 for write only
0+0+1 = 1 for execute only

So...
chmod 764 data

Cheers,
TB
sourav

2003-12-22, 1:58 pm

thanks Tarzanboy for ur explanations
prezbedard

2003-12-23, 2:18 pm

chmod 764 data

I did not look at the previous replys.
Boulware5

2003-12-25, 6:24 pm

(a) it is.
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net