Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 300-300 Topic 4 Question 26 Discussion

Actual exam question for LPI's 300-300 exam
Question #: 26
Topic #: 4
[All 300-300 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

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


Samba smb.conf Documentation

Contribute your Thoughts:

Chery
1 days ago
Personally, I'd go for option B, 'valid files = read,write'. That way, only the files the user can actually access will be shown. Simple and effective!
upvoted 0 times
...
Shalon
5 days ago
Ooh, this is a tricky one! I'm going to go with option C, 'browse mask = 000'. Seems like a nice way to restrict the view, am I right?
upvoted 0 times
...
Arlyne
10 days ago
Hmm, I'm not too sure about this one. Maybe option D, 'browseable = readable' could work? Sounds like it might do the trick.
upvoted 0 times
...
Janella
12 days ago
I think B) valid files = read,write is the best option to ensure only accessible files are shown.
upvoted 0 times
...
Devora
14 days ago
But wouldn't hiding unreadable files be more secure?
upvoted 0 times
...
Nydia
18 days ago
I disagree, I believe the correct answer is C) browse mask = 000.
upvoted 0 times
...
Devora
25 days ago
I think the answer is A) hide unreadable = yes.
upvoted 0 times
...
Lilli
26 days ago
I think option A is the correct answer. Hiding unreadable files and directories seems like the right way to restrict visibility on the share.
upvoted 0 times
Cassandra
4 days ago
I agree with option C, setting the browse mask to restrict visibility.
upvoted 0 times
...
Hermila
7 days ago
I believe it's actually option C, setting the browse mask to 000.
upvoted 0 times
...
Arlie
12 days ago
I think option A is the correct answer.
upvoted 0 times
...
...

Save Cancel