this post was submitted on 28 May 2025
        
      
      1998 points (98.5% liked)
      memes
    17871 readers
  
      
      1591 users here now
      Community rules
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to !politicalmemes@lemmy.world
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads/AI Slop
No advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.
A collection of some classic Lemmy memes for your enjoyment
Sister communities
- !tenforward@lemmy.world : Star Trek memes, chat and shitposts
- !lemmyshitpost@lemmy.world : Lemmy Shitposts, anything and everything goes.
- !linuxmemes@lemmy.world : Linux themed memes
- !comicstrips@lemmy.world : for those who love comic stories.
        founded 2 years ago
      
      MODERATORS
      
    you are viewing a single comment's thread
view the rest of the comments
    view the rest of the comments
 
          
          
This is a good argument for shipping an empty config file.
Your point stands, but this also isn't completely unintuitive. There is pattern there: you installed
sambaand the config is in/etc/samba/. System level installs will almost always install their config in/etc/and the sub directory will typically match the name somewhat.There is likely a general thought that if you're going to administer a samba server, you'll also be comfortable with conventions and man pages. Although, funnily enough, in the particular case of
samba,man smb.confdoesn't show the path lolThat's the thing though, when you install Samba it does create an empty config file at
\etc\samba\smb.conf, or at least I've never created oneI see why it does this now. Debian does
in the
postinitinside the.debfile to create the/etc/samba/smb.conffile. They do it this way so they don't nuke an already created file. I take back that they should be shipping an empty file, this way is better, but it also means you'll never be able to query it without some changes to the packaging tools.The man page should mention the path though that's a bit lame.