Which of the following commands will accomplish this task?

An administrator notices a directory on a web server named /var/www/html/old_reports that should no longer be accessible on the web. Which of the following commands will accomplish this task?
A. chmod 000 /var/www/html/old_reports
B. chgrp root /var/www/html/old_reports
C. chown apache /var/www/html/old_reports
D. setenforce apache /var/www/html/old_reports

comptia-exams

2 thoughts on “Which of the following commands will accomplish this task?

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.