Ubuntu 14.04
Sponsored Link

Fully accessed shared directory2014/04/26

Install Samba to share folders or files between Windows and Linux.
[1] Install Samba
apt-get -y install samba

[2] Create a fully accessed shared directory which anyone can access and write without authentication.
mkdir /home/share

chmod 777 /home/share

vi /etc/samba/smb.conf
# near line 25: add

unix charset = UTF-8
# line 30: change (Windows' default)

workgroup =
# line 51: uncomment and change IP address you allow

interfaces =
# line 58: uncomment

bind interfaces only = yes
# line 60: add (no auth)

map to guest = Bad User
# add at the last line

# any name you like

   path = /home/share
# shared directory

   writable = yes
# writable

   guest ok = yes
# guest OK

   guest only = yes
# guest only

   create mode = 0777
# fully accessed

   directory mode = 0777
# fully accessed

   share modes = yes
# warn if some people access to a file
initctl restart smbd

smbd start/running, process 2369
[3] Configure on Windows client. This example is on Windows 7. Select [My Computer] - [Map Network Drive] like following example.
[4] Specify shared folder's place in Folder section like example and Click 'Finish' button to enter.
[5] Just accessed to shared folder.
Matched Content