Hello group I have installed a SAMBA file server with SAMBA2.2.0 and about 30 clients. There are two linux clients running on the net witch must mount shares from the server. I use the smbmount command to do that. Now the problem is, that files on the server with permissions e.g. 0664 appear at the mounted drive on the client with permissions 0755. Additional the owner and the group appear as 'root' but on the server they are shown in another way. Is there anybody who can help? thanks Christian
> Hello group > > I have installed a SAMBA file server with SAMBA2.2.0 and about 30 clients. > There are two linux clients running on the net witch must mount shares from > the server. I use the smbmount command to do that. Now the problem is, that > files on the server with permissions e.g. 0664 appear at the mounted drive > on > the client with permissions 0755. Additional the owner and the group appear > as 'root' but on the server they are shown in another way. > > Is there anybody who can help?smbmout/smbfs are shares on a "per user" basis. You can set the permission (and the owner?) with options during the mount. But you will allways have one user and one permission. At least the user is a protocoll thing. There are only restricted situations where smb is usefull betwenn to Unix/linux systems. Use NFS: It's a mount on a "per host" basis and preserves owner, permissions, ... Christian> > thanks > > Christian > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >_(_)_ wWWWw _ @@@@ (_)@(_) vVVVv _ @@@@ (___) _(_)_ @@()@@ wWWWw (_)\ (___) _(_)_ @@()@@ Y (_)@(_) @@@@ (___) `|/ Y (_)@(_) @@@@ \|/ (_)\ / Y \| \|/ /(_) \| |/ | \ | \ |/ | / \ | / \|/ |/ \| \|/ jgs|// \\|/// \\\|//\\\|/// \|/// \\\|// \\|// \\\|// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
On Tue, 25 Sep 2001, Christian Rothe wrote:> the server. I use the smbmount command to do that. Now the problem is, that > files on the server with permissions e.g. 0664 appear at the mounted drive > on > the client with permissions 0755. Additional the owner and the group appear > as 'root' but on the server they are shown in another way.Read the smbmount manpage on uid/gid and fmask/dmask. smbfs does not understand ownership so it lets you pick one, default is the one doing the mount. /Urban