From 57be8ec8ac6158a37bfe78e97e8f05cd3a3bf54d Mon Sep 17 00:00:00 2001 From: Eloy Paris Date: Sun, 1 Jun 2003 07:12:51 +0000 Subject: Bringing packaging/Debian/* to a more recent state. (This used to be commit cd7494a19608f2b4a63b9c654dd8e0a0fc587c39) --- packaging/Debian/debian/patches/smbmount-mtab-flags.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 packaging/Debian/debian/patches/smbmount-mtab-flags.patch (limited to 'packaging/Debian/debian/patches/smbmount-mtab-flags.patch') diff --git a/packaging/Debian/debian/patches/smbmount-mtab-flags.patch b/packaging/Debian/debian/patches/smbmount-mtab-flags.patch new file mode 100644 index 0000000000..dac999dd63 --- /dev/null +++ b/packaging/Debian/debian/patches/smbmount-mtab-flags.patch @@ -0,0 +1,15 @@ +diff -ur samba-2.2.4.orig/source/client/smbmnt.c samba-2.2.4/source/client/smbmnt.c +--- samba-2.2.4.orig/source/client/smbmnt.c Sun Apr 8 15:22:51 2001 ++++ samba-2.2.4/source/client/smbmnt.c Sun May 5 16:42:29 2002 +@@ -259,7 +259,10 @@ + ment.mnt_fsname = share_name ? share_name : "none"; + ment.mnt_dir = mount_point; + ment.mnt_type = "smbfs"; +- ment.mnt_opts = ""; ++ if (mount_ro) ++ ment.mnt_opts = "ro"; ++ else ++ ment.mnt_opts = "rw"; + ment.mnt_freq = 0; + ment.mnt_passno= 0; + -- cgit