nerdexam
LPI

300-300 · Question #2

The configuration of a Samba share contains the following line: force directory mode = 0555 If a client creates a new directory with the permissions 0750, which permissions will the resulting director

The correct answer is D. 0555. force directory mode = 0555: This setting in Samba forces the permissions of any newly created directories to be 0555 regardless of what the client requests. Client Request: If a client creates a directory with permissions 0750, Samba will override this and set the directory's pe

300.4 File Sharing

Question

The configuration of a Samba share contains the following line: force directory mode = 0555 If a client creates a new directory with the permissions 0750, which permissions will the resulting directory have in the Samba server's file system?

Options

  • A0755
  • B0750
  • C0750
  • D0555
  • E0777

How the community answered

(32 responses)
  • A
    9% (3)
  • B
    6% (2)
  • C
    3% (1)
  • D
    81% (26)

Explanation

force directory mode = 0555: This setting in Samba forces the permissions of any newly created directories to be 0555 regardless of what the client requests. Client Request: If a client creates a directory with permissions 0750, Samba will override this and set the directory's permissions to 0555. Permissions Breakdown: 0: No permissions for owner. 5: Read and execute permissions for the group. 5: Read and execute permissions for others. Enforcement: Samba applies this mode strictly to ensure consistency and security as defined by the administrator.

Topics

#force directory mode#directory permissions#smb.conf#permission masking

Community Discussion

No community discussion yet for this question.

Full 300-300 Practice