Oracle
1Z0-403 · Question #33
Note the commands given below: [root@server1 ~]# mkdir /projects [root@server1 ~]# chgrp apps /projects [root@server1 ~]# usermod -G red,blue smith [root@server1 ~]# mkdir -p /projects/{red,blue}…
The correct answer is A. red. See the full explanation below for the reasoning.
Question
Note the commands given below: [root@server1 ~]# mkdir /projects [root@server1 ~]# chgrp apps /projects [root@server1 ~]# usermod -G red,blue smith [root@server1 ~]# mkdir -p /projects/{red,blue} [root@server1 ~]# chmod -R 2770 /projects/* [root@server1 ~]# chrgp red /projects/red [root@server1 ~]# id smith uid=537(smith) gid=511(apps) group=511(apps),541(red),542(blue) What would be the default group of files and directories inside the /projects/red directory created by user smith?
Options
- Ared
- Bblue
- Capps
- Dsmith
How the community answered
(22 responses)- A82% (18)
- B5% (1)
- C5% (1)
- D9% (2)
Community Discussion
No community discussion yet for this question.