LX0-103 · Question #28
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. In Samba, veto files makes specified files and directories completely invisible and inaccessible to clients, whereas hide files only hides them visually while keeping them accessible.
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
(31 responses)- A3% (1)
- D6% (2)
- E90% (28)
Why each option
In Samba, veto files makes specified files and directories completely invisible and inaccessible to clients, whereas hide files only hides them visually while keeping them accessible.
mangle names controls 8.3 filename mangling for legacy DOS clients and has nothing to do with hiding or restricting access to files.
hide dot files hides files whose names begin with a dot, mimicking Unix convention, but does not make them inaccessible.
hide special files hides special filesystem objects such as sockets and devices from directory listings but does not restrict accessibility for normal files.
hide files conceals matched files from directory listings but clients that know the filename can still access them, so it does not block accessibility.
The veto files parameter in smb.conf specifies a list of files and directories that Samba will neither list in directory listings nor allow clients to open or access. This is a two-way restriction covering both visibility and accessibility, distinguishing it from hide files, which conceals entries from listings but still permits access if the client knows the name.
Concept tested: Samba veto files parameter for visibility and access restriction
Source: https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.