setuids mount option not working?

Michael Adam <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Organization SerNet GmbH, Goettingen, Germany
Message-ID <[email protected]>
Hi,

from reading the manpage, I got the impression that when I do
a cifs mount as root to a samba server with unix extensions
enabled, then specifying the setuids mount option would result
files/directories being created with the uid/gid of the
accessing user instead of as root.

This does not seem to work for me. I have tested kernels 2.6.31
on my ubuntu box and a uml setup with a kernel 2.6.32 git
checkout.

I mount the share like this:
"mount -t cifs //host/share /mnt -o user=root,password=secret,setuids"

The server ist just a current samba configured as standalone
server, serving the share from a world-writeable folder.

What am I doing wrong? Am I missing something?

Cheers - Michael

_______________________________________________
linux-cifs-client mailing list
[email protected]
https://lists.samba.org/mailman/listinfo/linux-cifs-client
signature.asc (application/pgp-signature, 206 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: comment

iD8DBQFLmMMVyU9JOBhPkDQRAjQ+AJ0f3D8vrUnujbgBuX1n66UQCt9CZwCfbDmI
/3kXRdi4wKF8IKTPrHu8FnA=
=MAIa
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.