Linux_FoundationLinux_Foundation
LFCS · Question #775
LFCS Question #775: Real Exam Question with Answer & Explanation
The correct answer is E: ~/.samba. If the path parameter is omitted for a share in smb.conf, Samba defaults to using a hidden directory named .samba within the user's home directory.
Submitted by chen.hong· Apr 18, 2026Service Configuration
Question
If the path parameter is not set for a share in the smb.conf file, the share will refer to which of the following directories?
Options
- A/var/samba
- B/var/smb/tmp
- C/var/spool/samba
- D/tmp
- E~/.samba
Explanation
If the path parameter is omitted for a share in smb.conf, Samba defaults to using a hidden directory named .samba within the user's home directory.
Common mistakes.
- A.
/var/sambais not a default path for Samba shares; it might be used for specific share configurations, but not implicitly. - B.
/var/smb/tmpis not a default path for Samba shares and is not used when thepathparameter is absent. - C.
/var/spool/sambais typically used for print spooling or other internal Samba operations, not as a default share path. - D.
/tmpis a system-wide temporary directory and is not the default implicit path for user-specific Samba shares.
Concept tested. Samba share configuration defaults
Reference. https://www.samba.org/samba/docs/current/manpages-html/smb.conf.5.html
Topics
#Samba configuration#smb.conf#Default paths#Network shares
Community Discussion
No community discussion yet for this question.