maintain permissions

Urban Widmark urban at svenskatest.se
Sun Nov 12 12:40:32 GMT 2000


On Fri, 10 Nov 2000, Rick Ridgeway wrote:

> Im trying to maintain file permissions while mount //machine/sharedblah
> to /home
> 
> Currently, im using nfs to mount /home from one unix machine to another
> and its slow.
> I would like to use samba, but, i cant figure out how to maintain file
> ownership/permissions
[snip]
> On the client end, im mounting this like so:
> 
> mount -t smbfs -o username=someguy,password=supersecurepassword
> //machine/home /home
> 
> it mounts, only, everything on the client side is owned by root:root

The uid/gid parameters can be used to change who should become the owner
of everything. There is currently no support in smbfs for mapping remote
users to local ones.

The same goes for permissions, they do not survive the translation unix ->
smb -> unix (although some work was done on a spec' for new smbs to
handle unix permissions).

nfs will work a lot better unix<->unix and should not be much (if any?)
slower than smb.

/Urban





More information about the samba mailing list