Jump to content

Sharing folder over network that's not in $HOME


kenton
 Share

Recommended Posts

What are you trying to share it through? Samba? NFS?

 

NFS is easy, you can set it up through Webmin; but it's Linux to Linux only AFAIK.

 

Samba is harder, but still really easy. I'll assume Mandrake for this:

 

Edit (as root) /etc/samba/smb.conf with your favorite editor. Near the bottom you will see a [myshare] entry. Set it up like this:

 

[myshare]
comment = <some comment about the share>
path = /path/to/share
valid users = <users here>
public = <no or yes>
writable = <no or yes>
printable = <no or yes>
create mask = 0765

 

The mask can be different (666 for read/write for all, 777 for read/write/execute for all, etc)

 

Save that file, then in a console su to root and type:

smbpasswd -a USER

Where USER is your XP user id (Win2k will not have to do this unless you're using an account other than the Administrator account). You will be prompted for a password for this user. Use your Windows password to make things easier.

 

After that, still in your root console, type:

service smb restart

 

At that point you should be all set. For more info, see the Samba FAQ here: http://mandrakeusers.org/index.php?showtopic=16737

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...