First, you should prepare your folder.
sudo chmod -R 777 "your_share_path"
Then install Samba in your Linux.
sudo apt-get install samba
Edit the conf file.
sudo nano /etc/samba/smb.conf
Add your sharing information to the end of the conf file.
[sharename] comment = sharename path = "your share path" valid users = your_user_name0,your_user_name1 read only = no create mask = 0777 directory mask = 0777 guest ok = no browseable = yes
Of course, you need to add user(s) to your samba.
sudo smbpasswd -a your_user_name0
In the end, restart your Samba server.
sudo samba restart
Be careful, if you are using Windows, you need to enter your network location like ftp://Ip/sharename. Do not forget your “sharename” at the end of the path!
Here is a great software to handle different kinds of network storage(for Windows,17.6MB). You can download it here.
Views: 305
I was recommended this website by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my trouble. You are amazing! Thanks!
Hi, glad to see you! It’s my pleasure to see this site can solve your problem. Have fun with that!