Dear Readers,
You can find various post on installing SAMBA on Linux. In my post, I am sharing you the method through which you can allow windows users to write / copy data on your LINUX based drive.
Please remember that before that you have to create a user whom you can provide rights to copy data on Linux machine. User name should be common on Windows and LINUX.
Now, time to start real thing. Open your smb.config file (located in /etc/samba/ on LINUX drive)
[windowsSharing]
comment = File sharing path for windows
path = /home/user/abc/ [path which you want to share]
writeable = yes
browseable = yes
public = yes
guest ok = yes
force user = your_user_name
Now save your file and run following command
sudo service smbd restart
After restart of service, you will be able to share your files between linux and windows.
If this post helps you then please leave a comment to increase its reliability. Also comments are welcomed to improve this post (if any).
You can find various post on installing SAMBA on Linux. In my post, I am sharing you the method through which you can allow windows users to write / copy data on your LINUX based drive.
Please remember that before that you have to create a user whom you can provide rights to copy data on Linux machine. User name should be common on Windows and LINUX.
Now, time to start real thing. Open your smb.config file (located in /etc/samba/ on LINUX drive)
[windowsSharing]
comment = File sharing path for windows
path = /home/user/abc/ [path which you want to share]
writeable = yes
browseable = yes
public = yes
guest ok = yes
force user = your_user_name
Now save your file and run following command
sudo service smbd restart
After restart of service, you will be able to share your files between linux and windows.
If this post helps you then please leave a comment to increase its reliability. Also comments are welcomed to improve this post (if any).