kenton Posted August 19, 2004 Report Share Posted August 19, 2004 I've got an "archive" hard drive for all my ISO files, MP3s, blah blah. I'm trying to share the entire hard disk (it's just one partition, /mnt/hd) but it won't let me because it's not in my home files. Can anyone help? Thanks! Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted August 19, 2004 Report Share Posted August 19, 2004 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 Quote Link to comment Share on other sites More sharing options...
kenton Posted August 19, 2004 Author Report Share Posted August 19, 2004 Worked great! Thanks a million! I was trying to use smb, btw. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.