[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1018059: caja-extensions: samba share fails due to deprecated -l argument



Source: caja-extensions
Version: 1.26.0-1
Severity: normal

Dear Maintainer,

I'm creating this report to forward a patch that fixes samba sharing
with caja-extensions. The original bug was submitted to Ubuntu here:
https://bugs.launchpad.net/ubuntu/jammy/+source/caja-extensions/+bug/1972057
and upstream here:
https://github.com/mate-desktop/caja-extensions/issues/111

Thanks,
Lena Voytek
From 56fbd493714d2928525331e4b8bf676a70631810 Mon Sep 17 00:00:00 2001
From: Lena Voytek <lena.voytek@canonical.com>
Date: Wed, 24 Aug 2022 08:50:13 -0700
Subject: [PATCH] debian/patches: Update share argument to fix sharing with
 samba

---
 .../patches/fix-caja-share-long-param.patch   | 20 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 21 insertions(+)
 create mode 100644 debian/patches/fix-caja-share-long-param.patch

diff --git a/debian/patches/fix-caja-share-long-param.patch b/debian/patches/fix-caja-share-long-param.patch
new file mode 100644
index 0000000..b1f6c00
--- /dev/null
+++ b/debian/patches/fix-caja-share-long-param.patch
@@ -0,0 +1,20 @@
+Description: Fix parameter error that prevents samba shares with caja
+Author: Knucklesfan <bigfootreserchersoftexas@gmail.com>
+Origin: upstream, https://github.com/mate-desktop/caja-extensions/commit/8f18dddb00e2b16448b43ff6da5c6b2d439e8cc0
+Bug: https://github.com/mate-desktop/caja-extensions/issues/111
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu-mate/+bug/1972057
+Last-Update: 2022-08-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/share/shares.c
++++ b/share/shares.c
+@@ -624,7 +624,7 @@
+ 		return FALSE;
+ 
+ 	argv[0] = "add";
+-	argv[1] = "-l";
++	argv[1] = "--long";
+ 	argv[2] = info->share_name;
+ 	argv[3] = info->path;
+ 	argv[4] = info->comment;
diff --git a/debian/patches/series b/debian/patches/series
index 8e46221..2304f1e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 2001_support-icedove-in-caja-sendto.patch
 1001_pkg-config-macro-not-cross-compilation-safe.patch
+fix-caja-share-long-param.patch
-- 
2.34.1


Reply to: