1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00
samba-mirror/packaging/Debian/debian-woody/patches/smbmount-mtab-flags.patch
Simo Sorce fa75e8c1d4 r11395: Update the Debian packaging.
Move form stable to stable distribution names based hives.
(This used to be commit bb13b3482047b6ab6d84ba9e2839cf8a0fac71aa)
2007-10-10 11:05:15 -05:00

16 lines
566 B
Diff

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;