2018年7月12日 星期四

Samba on Ubuntu

Ref

# apt install samba
# edit /etc/samba/smb.conf
create folder
# mkdir /var/samba
# chmod 777 /var/samba

Add this:
[public]
  comment = public anonymous access
  path = /var/samba/
  browsable =yes
  create mask = 0666
  directory mask = 0777
  writable = yes
  guest ok = yes

# systemctl restart smbd

沒有留言:

張貼留言