[vox-tech] smbmount - inheriting owner and group attributes

Jeff Newmiller vox-tech@lists.lugod.org
Fri, 8 Aug 2003 18:58:21 -0700 (PDT)


On Thu, 7 Aug 2003, David Siedband wrote:

> I'm smbmounting shares from one RedHat(5.0) box to another(8.0).  I 
> would like to preserve the owner and group attributes from the box that 
> is exporting the shares.
> 
> The relevant lines from /etc/fstab all look like this:
> 
> //oxygen/pyDes         /mnt/pyDes      smbfs     
>  credentials=/home/osiris/sambacreds,uid=osiris,gid=peoples,fmask=775,dmask=775 
> 0 0
> 
> Is there a value for the 'uid' property that will preserve the existing 
> owner attributes?

No.  The CIFS protocol does not communicate ownership in a manner
compatible with Unix filesystems, so it must be emulated in the client
code.

You need NFS.

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------