Ensure the samba package is installed and the system is fully updated.
sudo pacman -Syu samba
Create the config file /etc/samba/smb.conf
sudo nano /etc/samba/smb.conf
Insert the following and save the file
[global] workgroup = Manjaro server string = Samba Server server role = standalone server log file = /var/log/samba/log.%m max log size = 50 guest account = nobody map to guest = Bad Password [public] path = /srv/samba public = yes writable = yes printable = no
sudo testparm /etc/samba/smb.conf
Create the shared folder
sudo mkdir -p /srv/samba
Set permissions to any and all
sudo chmod ugo+rwx /srv/samba -R
sudo systemctl enable --now smb nmb
Ensure you have the smbclient package installed. Open your file manager and enter the servername or IP address in a filemanager's location bar using the smb protocol
Access the share using the filemanager and input the servername in this format - it is of course possible to use the IP address as well.
Samba on Arch Wiki
Sample Samba configuration with comments smb.conf on samba.org