Telegram Teletype vc.ru dzen.ru
ОС: Debian 11, 12
1. Устанавливаем samba
apt-get install samba
2. Создаем общую папку и меняем права для нее.
3. В файл /etc/samba/smb.cfg добавляем
[public]
comment = Public
path = /home/user/public_folder
guest ok = yes
browseable = yes
writable = yes
read only = no
force user = user
force group = users
public = yes
Выполняем команду:
systemctl restart smbd