{"id":7767,"date":"2024-07-03T02:23:20","date_gmt":"2024-07-02T20:23:20","guid":{"rendered":"https:\/\/mcqacademy.com\/en\/?post_type=mcq&#038;p=7767"},"modified":"2024-07-03T20:11:17","modified_gmt":"2024-07-03T14:11:17","slug":"how-can-you-grant-read-and-execute-permissions-to-the-owner-and-group-symbolic-mode","status":"publish","type":"mcq","link":"https:\/\/mcqacademy.com\/en\/mcq\/how-can-you-grant-read-and-execute-permissions-to-the-owner-and-group-symbolic-mode\/","title":{"rendered":"How can you grant &#8220;read and execute&#8221; permissions to the owner and group &#8230; symbolic mode?"},"content":{"rendered":"\n<p>How can you grant &#8220;read and execute&#8221; permissions to the owner and group while revoking all permissions from others for a file named &#8216;program&#8217; using the symbolic mode?<\/p>\n","protected":false},"author":1158,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","topic":[1505],"subject":[1504],"class_list":["post-7767","mcq","type-mcq","status-publish","hentry","topic-kali-linux","subject-operating-systems"],"mcq_note":"<p>To grant read and execute permissions to the owner and group, while revoking all permissions from others for a file named \"program\" using symbolic mode in Linux, you would use the following command: <strong>\"chmod ug+rx,o--- program\"<\/strong><\/p>\r\n<p><strong><span style=\"text-decoration: underline\">Let's break down the command and its<\/span> components:<\/strong><\/p>\r\n<p>\"chmod\" command to change file mode bits. \"ug+rx\" Grants read (r) and execute (x) permissions to the user (u) and group (g). o---: Revokes all permissions (---) from others (o).<\/p>","mcq_options":[{"right":"yes","answer":"chmod ug+rx,o--- program"},{"right":"no","answer":"chmod u+rx,g+rx,o--- program"},{"right":"no","answer":"chmod ug+rx,o-- program "},{"right":"no","answer":"chmod u+rx,g+rx,o--x program"}],"multi_answers":"no","subject_terms":[{"id":1504,"title":"Operating Systems","slug":"operating-systems"}],"topic_terms":[{"id":1505,"title":"Kali Linux","slug":"kali-linux"}],"_links":{"self":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/mcq\/7767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/mcq"}],"about":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/types\/mcq"}],"author":[{"embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/users\/1158"}],"replies":[{"embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/comments?post=7767"}],"wp:attachment":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/media?parent=7767"}],"wp:term":[{"taxonomy":"topic","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/topic?post=7767"},{"taxonomy":"subject","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/subject?post=7767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}