[Fwd: Re: Mounting samba shares]

Chris Jensen cjensen at edex.com.au
Tue Feb 6 05:29:55 GMT 2001


Hi Don,
Surely there must be some way around this. Since mounting the share as
root means that any user would then have to su in order to access their
files. There must be some way for a paricular user to have a share
mounted using their user name so they have permission to access the
appropriate files.

"MCCALL,DON (HP-USA,ex1)" wrote:
> 
> Hi Chris,
> In fact, smbmount DOES require the executor of that command to be the root
> user.  There is a check in the code to ensure this.
> This is similar to the nfs mount requirement that nfs mounts be made by
> root.  The subsequent access to the files and directories under that mount
> are then governed by the permissions on those files and directories.
> hope this helps,
> Don
> 
> -----Original Message-----
> From: Chris Jensen [mailto:cjensen at edex.com.au]
> Sent: Monday, February 05, 2001 17:59
> To: samba at samba.org
> Subject: Mounting samba shares
> 
> Hi,
> I'm trying to mount samba shares onto the file system, but at the moment
> i only seem to be able to mount them as root. I've tried changing the
> permissions on the mount point and even mounting it on a subdir of my
> home directory but mount just keeps telling me that only root can do
> this. I've put an entry for the mount in /etc/fstab with the user
> option, what have i missed?
> I'm using samba 2.0.7 on RedHat 7, help would be much appreciated.

-- 
---------------------------------------------------------------------
Chris Jensen cjensen at edex.com.au 

Educational Experience (Australia)
Postal Address: PO Box 860, Newcastle NSW 2300
Freecall:       1-800-025 270      International: +61-2-4923 8222
Fax:            (02) 4942 1991     International: +61-2-4942 1991

Visit our online Toy store! http://www.toysandmore.com.au/
---------------------------------------------------------------------




More information about the samba mailing list