树莓派配置

41次阅读

共计 349 个字符,预计需要花费 1 分钟才能阅读完成。

一、samba 配置

  1. 配置文件
[global]
   workgroup = WORKGROUP
   security = user
   hosts allow = 192.168.10.
   passdb backend = smbpasswd
[homes]
   comment = Home dir
   path = /mnt
   browseable = yes
   writeable = yes
   available = yes
   create mask = 0777
   directory mask = 0777
   valid users = pi
   #force create mode = 0644
   #force directory mode = 0644
   public = yes
   #case sensitive = no
   #short preserve case = yes
  1. 权限相关

    smbpasswd -a pi 添加 pi 用户

二、树莓派权限

  1. d
  2. d
  3. d
  4. d
  5. d
  6. d
  7. d
  8. d
  9. d

正文完
 0