nerdexam
Linux_Foundation

LFCS · Question #841

Which option is used in the Samba configuration file to set which files and directories are neither visible to or accessible by the clients?

The correct answer is E. veto files. The veto files option in Samba configuration prevents clients from seeing or accessing files and directories that match the specified pattern.

Submitted by kev92· Apr 18, 2026Service Configuration

Question

Which option is used in the Samba configuration file to set which files and directories are neither visible to or accessible by the clients?

Options

  • Amangle names
  • Bhide dot files
  • Chide special files
  • Dhide files
  • Eveto files

How the community answered

(43 responses)
  • B
    5% (2)
  • D
    2% (1)
  • E
    93% (40)

Why each option

The `veto files` option in Samba configuration prevents clients from seeing or accessing files and directories that match the specified pattern.

Amangle names

`mangle names` is used to convert long filenames to short 8.3 format for compatibility with older Windows clients, not to hide or block access to files.

Bhide dot files

`hide dot files` specifically hides files and directories that start with a dot (`.`) from directory listings, but these files might still be accessible if the client knows the path.

Chide special files

`hide special files` is not a standard Samba option for general file hiding; options like `hide unreadable` or `hide unwriteable` address specific access conditions.

Dhide files

`hide files` makes files invisible in directory listings but still allows access if the full path is known, which is less restrictive than `veto files`.

Eveto filesCorrect

The `veto files` option in the Samba configuration (`smb.conf`) is used to specify a list of files and directories that clients cannot see or access, effectively making them invisible and unavailable. This provides a strong level of protection for sensitive or internal server files, behaving as if they do not exist for the client.

Concept tested: Samba file sharing configuration

Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html

Topics

#Samba configuration#File sharing#Access control#smb.conf directives

Community Discussion

No community discussion yet for this question.

Full LFCS Practice