New comment by CameronNemo on void-packages repository https://github.com/void-linux/void-packages/issues/33335#issuecomment-935516841 Comment: @ahesford how would you feel about switching the samba private dir from /etc/samba/private to /var/lib/samba/private? Upside: more consistent with other distros, smbd does not write to /etc. Downside: I am not 100% sure whether the CLI client tools will still work with old versions of smbd. Users may need to restart the smbd service after an upgrade so that both the CLI clients and service are using the same private dir path. ```diff diff --git a/srcpkgs/samba/template b/srcpkgs/samba/template index 69ac97f71d..0755c79f6a 100644 --- a/srcpkgs/samba/template +++ b/srcpkgs/samba/template @@ -11,7 +11,7 @@ _auth_modules="auth_unix,auth_wbc,auth_server,auth_netlogind,autH_script,auth_sa configure_args="--enable-fhs --sbindir=/usr/bin --localstatedir=/var --sysconfdir=/etc --with-piddir=/run/samba --with-sockets-dir=/run/samba --with-lockdir=/run/lock/samba - --with-privatedir=/etc/samba/private --with-pammodulesdir=/usr/lib/security + --with-pammodulesdir=/usr/lib/security --with-modulesdir=/usr/lib/samba --disable-rpath --disable-rpath-install --without-systemd --without-gettext --bundled-libraries=NONE --with-system-mitkrb5 --without-ad-dc --with-cluster-support @@ -30,7 +30,7 @@ distfiles="http://download.samba.org/pub/samba/stable/${pkgname}-${version}.tar. checksum=6f50353f9602aa20245eb18ceb00e7e5ec793df0974aebd5254c38f16d8f1906 lib32disabled=yes conf_files="/etc/pam.d/samba /etc/samba/smb.conf" -make_dirs="/etc/samba/private 0750 root root" +make_dirs="/var/lib/samba/private 0700 root root" subpackages="smbclient samba-ctdb samba-cups samba-devel samba-libs samba-python3" if [ "$XBPS_TARGET_LIBC" = "musl" ]; then ```