smbfs: smbmount ignores uid and gid options

Pybe squalidstuff at gmail.com
Mon Jan 24 18:39:54 UTC 2005


On Mon, 24 Jan 2005 17:17:04 +0200, Rudi von Staden <rudivs at gmail.com> wrote:
> 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.

Shot in the dark but try mount -t smbfs //blah/blah /mnt/blah -o blah

I put my mounts in fstab noauto and just mount by mount /mnt/blah as
it saves me writing all the options alot.

HTH
Pybe




More information about the ubuntu-users mailing list