树莓派配置

一、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

你可能感兴趣的:(linux)