QuestionQ73

VerifiedSamba Share Configuration

In a Samba configuration file, which parameter can be set within a share definition so that Samba only displays the files and directories on a file share that the connecting user is actually permitted to access?

Explanation

The hide unreadable boolean parameter, when set to yes within a share's definition in smb.conf, instructs smbd to check file and directory permissions before including them in a directory listing, hiding any items the connecting user does not have read access to. This is documented in the official smb.conf man page. None of the other listed options are valid or correctly used Samba parameters: valid users/valid files do not filter listings this way, browse mask and display mode are not real smb.conf parameters, and browseable only accepts yes/no (controlling whether the whole share is listed, not per-file visibility).

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!