smbfs: smbmount ignores uid and gid options

Markus Kolb ubuntu-ml at tower-net.de
Wed Jan 26 14:36:02 UTC 2005


Rudi von Staden wrote on Wed, Jan 26, 2005 at 07:54:01 +0200:
> Okay, problem has been solved. It seems that Samba is quite clever
[...]

> 
> 1. Disable the CIFS metadata on the server side
> unix extensions = no

As the option name says this is the unix extension and is a extension to
the CIFS data.
With these unix extensions Samba uses the Linux/Unix permissions, user
and groups for files and directories available on the filesystems.

With the up-to-date kernel updates from Warty it should work with unix
extensions.
The older kernels had bugs in relation to unix extensions and access.

So if you use the newest kernel for warty and your setup on the server
is done for this, it should work.
I have no problems.

But I think you use the wrong command. smbmount is not intended to be
called by users:
smbmount --help:
...
This command is designed to be run from within /bin/mount by giving
the option '-t smbfs'. For example:
  mount -t smbfs -o username=tridge,password=foobar //fjall/test
  /data/test


Markus




More information about the ubuntu-users mailing list