在优盘里新建一个share文件夹,做局域网共享
mkdir /mnt/usb/share
chmod -R 777 /mnt/usb/share
sudo nano /etc/samba/smb.conf
添加:
[share]
comment = USB Share
path = /mnt/usb/share
read only = no
writeable = Yes
guest ok = yes
only guest = Yes
create mask = 0777
directory mask = 0777
browseable = Yes
public = yes
没有评论:
发表评论