nerdexam
LPI

300-300 · Question #4

Which parameter within a share definition in the Samba configuration makes Samba only show files and directories on a file share which a user can access?

The correct answer is A. hide unreadable = yes. hide unreadable: This smb.conf option ensures that only files and directories that the user has permissions to access are visible in the file share. Functionality: When set to yes, files and directories that the user cannot read (due to permissions) will be hidden from their…

300.4 File Sharing

Question

Which parameter within a share definition in the Samba configuration makes Samba only show files and directories on a file share which a user can access?

Options

  • Ahide unreadable = yes
  • Bvalid files = read,write
  • Cbrowse mask = 000
  • Dbrowseable = readable
  • Edisplay mode = 100

How the community answered

(49 responses)
  • A
    92% (45)
  • B
    4% (2)
  • C
    2% (1)
  • E
    2% (1)

Explanation

hide unreadable: This smb.conf option ensures that only files and directories that the user has permissions to access are visible in the file share. Functionality: When set to yes, files and directories that the user cannot read (due to permissions) will be hidden from their view. Security and Usability: This helps in enhancing both security and usability by preventing users from seeing files they cannot access, reducing clutter and potential confusion. Example Configuration: [example_share] hide unreadable = yes

Topics

#hide unreadable#file visibility#smb.conf#access control

Community Discussion

No community discussion yet for this question.

Full 300-300 Practice