nerdexam
Oracle

1Z0-876 · Question #69

You have a file that contains confidential customer data called customer489.dat. You need to make this file available to the sales group but protect the data from other users. You are not a member…

The correct answer is C. setfacl -m g:sales:rw-,m:rw- /export/home/tbussart/customer489.dat. See the full explanation below for the reasoning.

Question

You have a file that contains confidential customer data called customer489.dat. You need to make this file available to the sales group but protect the data from other users. You are not a member of the sales group and you do not have root access. -rw-r--r-- 1 tbussart staff 465394 Apr 1 15:20 customer489.dat $ getent group sales sales::1034:tom,dick,harry Which command will configure the file for the described access?

Options

  • Achgrp sales /export/home/tbussart/customer489.dat
  • Bgroupadd sales /export/home/tbussart/customer489.dat
  • Csetfacl -m g:sales:rw-,m:rw- /export/home/tbussart/customer489.dat
  • Dchmod +w /export/home/tbussart/customer489.dat

How the community answered

(31 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    74% (23)
  • D
    16% (5)

Community Discussion

No community discussion yet for this question.

Full 1Z0-876 Practice