1.

Which command is used to change the group owner of the file?(a) chown(b) ch(c) chgrp(d) chmodThis question was posed to me in homework.My doubt is from Changing File Ownership and Permissions in chapter Basic File Attributes of Unix

Answer»

Right CHOICE is (c) chgrp

The BEST I can EXPLAIN: A user can CHANGE the group owner of a file but only to that group to which he belongs. A user can belong to more than one group and the one shown in /etc/psswd is the user’s MAIN group.



Discussion

No Comment Found

Related InterviewSolutions