2017. szeptember 16., szombat

CentOS howto III - Advanced samba

  1. Create shared folder and grant permissions
    1. mkdir /home/shared/
    2. chmod -R 0777 /home/shared/
    3. chown -R nobody:nobody /home/shared/
    4. chcon -t samba_share_t /home/shared/
  2. add the text below to the /etc/samba/smb.conf
[shared]
path = /home/shared
browsable = yes
guest ok = yes
read only = no
  1. Restart samba
    1. systemctl restart smb.service
    2. systemctl restart nmb.service
  2. Test samba
    1. testparm /etc/samba/smb.conf

Nincsenek megjegyzések:

Megjegyzés küldése