Manjaro Samba installieren Verzeichnis-Freigabe
Im Terminal
su
pacman -S samba
pacman -S nautilus-share
mkdir -p /var/lib/samba/usershare
groupadd sambashare
chown root:sambashare /var/lib/samba/usershare
cp /etc/samba/smb.conf.default /etc/samba/smb.conf
################################################# Install a Editor like gedit or us a ather 1
gedit /etc/samba/smb.conf
#all u need in smb.conf down copy that The Rest unter u can erase.
U only need this in the samba.conf unter the Line copy this! Stop on the Line Stop
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = WORKGROUP
client max protocol = NT1
usershare path = /var/lib/samba/usershare
usershare max shares = 100
usershare allow guests = yes
usershare owner only = yes
map to guest = bad user
#============================ Share Definitions ==============================
[Downloads]
path = /home/user/Downloads
comment = Downloads
browseable = yes
writable = yes
Ende von smb dont copy the Rest down.
STOP———————————-Next
We still need to enable the samba service. In the terminal, Put your Username for Username thats all
#Achtung in manchen Distros wurde smbd und nmbd in smb und nmb geändert.
systemctl enable smbd nmbd
systemctl start smbd nmbd
#User mit Passwort anlegen. Great User with Password
smbpasswd -a username
#Dann Ordner mit Ordnername und User Freigeben. Then Folder with only User right
net usershare add Downloads /home/username/Downloads/ Downloads „Everyone:R,username:F“