[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Share directories on a Linux machine to a Linux machine
- Subject: Re: Share directories on a Linux machine to a Linux machine
- From: "Scott G. Elliott" <sgelliot@xxxxxxx>
- Date: Wed, 4 May 2005 15:36:51 -0400 (EDT)
in the /etc/samba/smb.conf file, near the end is something like this:
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
you will need to make an entry for the share you want. I have tried
whatever frontend comes with fedora core 2, and found editing the conf
file to be easier and better controlled.
oh, in the above example, //machine/myshare is the part used on the host
mounting the share
-Scott
On Wed, 4 May 2005, Jacob Fugal wrote:
> Date: Wed, 04 May 2005 15:19:11 -0400
> From: Jacob Fugal <jpfugal@xxxxxxx>
> To: lug-l@xxxxxxx
> Subject: Re: Share directories on a Linux machine to a Linux machine
>
> Is that all you have to do? I imagine you have to set some kind of perms
> in samba on the machine that has the shared directory, eh?
>
> Jacob Fugal
> jpfugal@xxxxxxx
>
> Kyle Schneider wrote:
>
> >I use samba to mount a drive over the network, and I simply use a mount
> >command to do it. You'll need to install smbfs out of apt first though.
> >
> >
> >
> >>mount -t ext3 -o username=user,password=pass //machine/dir /mnt/dir
> >>
> >>
> >
> >mount -t smbfs -o usernmae=user,password=pass //machine/share /mnt/point
> >
> >or, you can place an entry like the following in /etc/fstab to mount the
> >share at boot (you'll still need smbfs though)
> >
> >//mount/share /mnt/point smbfs defaults,gid=100,dmask=775,fmask=665,rw 0 0
> >
> >--
> >Kyle Schneider
> >Social Sciences - Secondary Education Concentration
> >CAEL Partner
> >MTU Linux Users Group President
> >Resnet Student Consultant 483-9955
> >Telcom Information Technology 487-2581
> >
> >
>