sudo smbpasswd -a book 配置samba sudo vim /etc/samba/smb.conf [book_share_samba_dir] comment = share samba dir path = /home/book/ftp valid users = book force user = book force group = book creat mask = 0644 directory mask = 0755 browseable= yes available = yes public = yes read only = no writeable = yes