LPIC-3 Exam 300 v3 (Mixed Environments) — Question 4

In case the following parameters are set in a Samba file share configuration: create mask = 711 force create mode = 750
What are the effective permissions of a file created with the permissions 777?

Answer options

Correct answer: E

Explanation

The effective permissions are determined by applying the create mask to the initially set permissions. The create mask of 711 removes write and execute permissions for 'others' and write permission for 'group', which results in 751. The force create mode of 750 further ensures that the file has the specified permissions for the user and group, but does not change the already set permissions. Therefore, the correct answer is E, while the other options do not accurately reflect the resulting permissions.