What would be the default group of files and directories inside the /projects/red directory created by user smith?

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?

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?

A.
Red

B.
Blue

C.
Apps

D.
Smith



Leave a Reply 0

Your email address will not be published. Required fields are marked *