X-Git-Url: https://vcs.maemo.org/git/?p=samba;a=blobdiff_plain;f=packaging%2FDebian%2Fdebian-unstable%2Fpatches%2Fsmbmount-unix-caps.patch;fp=packaging%2FDebian%2Fdebian-unstable%2Fpatches%2Fsmbmount-unix-caps.patch;h=0c81327987fedb99f5b30a5d0bc5b791f8dcb849;hp=0000000000000000000000000000000000000000;hb=6bca4ca307d55b6dc888e56cee47aebcddbce786;hpb=7fd70fa738b636089bcc6c961aa3eaa02f20dda2 diff --git a/packaging/Debian/debian-unstable/patches/smbmount-unix-caps.patch b/packaging/Debian/debian-unstable/patches/smbmount-unix-caps.patch new file mode 100644 index 0000000..0c81327 --- /dev/null +++ b/packaging/Debian/debian-unstable/patches/smbmount-unix-caps.patch @@ -0,0 +1,14 @@ +diff -uNr samba-3.0.14a.orig/source/client/smbmount.c samba-3.0.14a/source/client/smbmount.c +--- samba-3.0.14a.orig/source/client/smbmount.c 2005-06-02 06:49:31.000000000 -0700 ++++ samba-3.0.14a/source/client/smbmount.c 2005-06-02 06:59:41.000000000 -0700 +@@ -213,6 +213,10 @@ + c->capabilities &= ~CAP_STATUS32; + c->force_dos_errors = True; + } ++ /* For now, respect requests for uid-flattening mount options ++ by disabling Unix permissions handling in the kernel driver */ ++ if (mount_uid || mount_gid || mount_fmask || mount_dmask) ++ c->capabilities &= ~CAP_UNIX; + + if (!cli_session_setup(c, username, + password, strlen(password),