- Create shared folder and grant permissions
- mkdir /home/shared/
- chmod -R 0777 /home/shared/
- chown -R nobody:nobody /home/shared/
- chcon -t samba_share_t /home/shared/
- add the text below to the /etc/samba/smb.conf
[shared]
path = /home/shared
browsable = yes
guest ok = yes
read only = no
path = /home/shared
browsable = yes
guest ok = yes
read only = no
- Restart samba
- systemctl restart smb.service
- systemctl restart nmb.service
- Test samba
- testparm /etc/samba/smb.conf
Nincsenek megjegyzések:
Megjegyzés küldése