Fedora 11
Sponsored Link

Create a Fully accessed directory2009/06/14

  Install Samba
[root@lan1 ~]#
yum -y install samba
  Create a shared directory that anybody can read and write, and authentication is not needed.

[1] Configure Samba
[root@lan1 ~]#
mkdir /home/share

[root@lan1 ~]#
chmod 777 /home/share

[root@lan1 ~]#
vi /etc/samba/smb.conf


# near line 58: add

unix charset = UTF-8


# line 75: change (Windows' default)

workgroup =
WORKGROUP


# line 81: uncomment and change IP address you allow

hosts allow =
192.168.0. 127.


# line 102: change (no auth)

security =
share


# add at the bottom

[Share]
# any name you like

   path = /home/share
# shared directory

   writable = yes
# OK to write

   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


[root@lan1 ~]#
/etc/rc.d/init.d/smb start

Starting SMB services:
[  OK  ]

[root@lan1 ~]#
chkconfig smb on

[2] Configure on Windows client. This is on Windows XP. Select [My Computer] - [Tools] - [Map Network Drive] like following example.
 
[3] Specify shared folder's place in Folder section like example and Click 'Finish' button to enter.
 
[4] Done to access to the shared folder.
 
Matched Content