[neon/neon/settings/Neon/release] debian: set the required dir permissions for usershare dir
Carlos De Maine
null at kde.org
Fri Jun 19 05:56:21 BST 2026
Git commit bb825ab355b95687a07ece73add6e597f92ac0b7 by Carlos De Maine.
Committed on 19/06/2026 at 04:55.
Pushed by carlosdem into branch 'Neon/release'.
set the required dir permissions for usershare dir
M +2 -2 debian/neon-settings-2.postinst
https://invent.kde.org/neon/neon/settings/-/commit/bb825ab355b95687a07ece73add6e597f92ac0b7
diff --git a/debian/neon-settings-2.postinst b/debian/neon-settings-2.postinst
index a80e99d..1c4aa77 100644
--- a/debian/neon-settings-2.postinst
+++ b/debian/neon-settings-2.postinst
@@ -87,7 +87,7 @@ grep -qxF "include = /etc/samba/neon-usershares-smb.conf" /etc/samba/smb.conf ||
# check/add directory and permissions required for samba usershare support
DIR="/var/lib/samba/usershares"
-REQUIRED_PERM="1755"
+REQUIRED_PERM="1770"
REQUIRED_OWNERS="root:sambashare"
if [ ! -d "$DIR" ]; then
@@ -104,4 +104,4 @@ if [ ! "$CURRENT_OWNERS" = "$REQUIRED_OWNERS" ]; then
chown "$REQUIRED_OWNERS" "$DIR"
fi
-exit 0
\ No newline at end of file
+exit 0
More information about the Neon-commits
mailing list