Joseph DiPerna
2001-Nov-20 03:54 UTC
using samba to serve the whole tree of home directories
I'm trying to use samba to serve a number of home
directories to other samba Linux clients on my
network.
ie. I have a set of client machines that want to use
the /home directory that my samba server will provide
I thought I could set up a share that goes something
like this
[homedirs]
path = /home
writable = true
On a client machine, I smbmount //myserver/homedirs
/home successfully, but the permissions are not what I
want:
I expected to see something like
drwxrwxrwx 3 capdx capdx 4096 Nov 19
15:26 capdx
drwx------ 2 carol carol 4096 Nov 20
14:36 carol
drwx------ 11 jdiperna jdiperna 4096 Nov 19
19:05 jdiperna
but instead I'm seeing
drwxrwxr-x 1 root root 512 Nov 19
15:26 capdx
drwxrwxr-x 1 root root 512 Nov 20
14:36 carol
drwxrwxr-x 1 root root 512 Nov 19
19:05 jdiperna
I want the permissions to be the same as they are on
the server.
Any clues would be very much appreciated.
jdiperna@digital-lynx.com
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
Urban Widmark
2001-Nov-21 03:07 UTC
using samba to serve the whole tree of home directories
On Tue, 20 Nov 2001, Joseph DiPerna wrote:> I expected to see something like > > drwxrwxrwx 3 capdx capdx 4096 Nov 19 > 15:26 capdx > drwx------ 2 carol carol 4096 Nov 20 > 14:36 carol > drwx------ 11 jdiperna jdiperna 4096 Nov 19 > 19:05 jdiperna > > but instead I'm seeing > > drwxrwxr-x 1 root root 512 Nov 19 > 15:26 capdx > drwxrwxr-x 1 root root 512 Nov 20 > 14:36 carol > drwxrwxr-x 1 root root 512 Nov 19 > 19:05 jdiperna > > I want the permissions to be the same as they are on > the server. > > Any clues would be very much appreciated.smbfs does not support mapping users. All files are shown as belonging one user, and all accesses to the server are made as the user making the connection. Try using NFS. Or mount each directory individually (with some kind of automounting, autofs, pam_mount). /Urban