smbfs: smbmount ignores uid and gid options
Rudi von Staden
rudivs at gmail.com
Mon Jan 24 15:17:04 UTC 2005
I have the same problem. I have an Ubuntu (Warty) server sharing
directories with smbfs. When I try to mount these directories on my
Ubuntu (Warty) laptop, it mounts, but I have no access to the files
unless their world permissions or user permissions allow access (so
the group permissions are ignored). If I then authenticate as root
(sudo -s), the permissions work correctly. I'm using smbmount with the
following command:
sudo smbmount //server/share /mnt/share -o rw,username=me,uid=me
Windows clients can connect to the share without problems, and my
laptop can connect to other Windows (FAT32) shares without a problem.
It's only the Samba to Samba shares that are an issue. I've also tried
connecting to the share using Samba on Knoppix and had the same
result.
Any suggestions??
Rudi
On Fri, 17 Dec 2004 17:42:56 +1100, David Hammerton
<crazney at localhost.localdomain> wrote:
> Package: smbfs
> Version: 3.0.9-1ubuntu2
> Severity: important
>
> Ok, I think it's a problem with the smbfs kernel module or something, as
> with my googling I saw someone post the problem (and a patch) to the
> kernel mailing list.. but no one replied.
>
> Anyhow, smbfs ignores the uid= and gid= options.
> This renders smbmount utterly useless to me. As I'm unable to access any
> of the data on the shares I mount, without being root. And who does
> stuff as root?
> (The default behaviour is to use the uid of the user that owns the files
> on the server.. which of course doesn't exist on the client).
>
> Thanks!
>
> David
>
> -- System Information:
> Debian Release: 3.1
> Architecture: i386 (i686)
> Kernel: Linux 2.6.8.1-3-386
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
>
> Versions of packages smbfs depends on:
> ii libc6 2.3.2.ds1-19 GNU C Library: Shared libraries an
> ii libcomerr2 1.35-8ubuntu1 The Common Error Description libra
> ii libkrb53 1.3.5-1 MIT Kerberos runtime libraries
> ii libldap2 2.1.30-3ubuntu1 OpenLDAP libraries
> ii netbase 4.19ubuntu1 Basic TCP/IP networking system
> ii samba-common 3.0.9-1ubuntu2 Samba common files used by both th
>
> -- no debconf information
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
More information about the ubuntu-users
mailing list