Sponsored Link

Samba : Fully Accessed Shared Folder2019/01/23

Install Samba to Configure File Server.
For example, Create a fully accessed shared Folder which anybody can read and write, and also authentication is not required.
[1] Configure Samba.
smb:~ #
zypper -n install samba samba-client
smb:~ #
mkdir /home/share

smb:~ #
chmod 777 /home/share

smb:~ #
vi /etc/samba/smb.conf
# line 5: add

unix charset = UTF-8
# add to the end

# any Share name you like

    # shared directory
    path = /home/share
    # writable
    writable = yes
    # allow guest user
    guest ok = yes
    # guest only
    guest only = yes
    # fully accessed
    create mode = 0777
    # fully accessed
    directory mode = 0777

smb:~ #
systemctl start smb nmb

smb:~ #
systemctl enable smb nmb

[2] If Firewalld is running, allow Samba service.
smb:~ #
firewall-cmd --add-service=samba --permanent

smb:~ #
firewall-cmd --reload

[3] It's the way to access to the shared folder. This example is on Windows 10.
Select [Computer] - [network] - [Map Network Drive].
[4] Specify the shared folder's place in Folder section and Click the [Finish] button to enter.
[5] Just accessed to the shared Folder.
Matched Content