From 3e78cb02157078d1d788bd085ea6426ac7cdde03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Fri, 26 Jul 2024 23:26:15 +0200 Subject: [PATCH] Create /run/samba/ --- scripts/service/smbd/run | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/service/smbd/run b/scripts/service/smbd/run index 7c70671..7ffaaf7 100755 --- a/scripts/service/smbd/run +++ b/scripts/service/smbd/run @@ -2,6 +2,10 @@ set -eu +if [ ! -d /run/samba/ ]; then + install -m 755 -o root -g root -d /run/samba/ +fi + cd /run/samba/ exec 2>&1 exec /usr/sbin/smbd --foreground --debug-stdout --debuglevel=3