pcx69
亲测,可供起1T西数USB3.0硬盘。ntfs分区。 ntfs分区在树莓派上挂载后是只读权限,没法修改,只能安装ntfs-3g apt-get instgall ntfs-3g apt-get install samba apt-get install samba-common-bin cp /etc/samba/smb.conf /etc/samba/smb.conf.bak   去掉smb.conf里的 #security = user 前面的井号,启动用户安全   配置文件末尾加以下类似配置,用于共享网络 [disk] comment = fuck danqing path = /media/disk/ valid users = @users force group = users create mask = 0660 directory mask = 0771 read only = no   重启samba服务   添加一个用户   useradd danqing -m -G users 设置密码 passwd danqing 添加到samba用户中 smbpasswd -a danqing

分类:

技术点:

相关文章:

  • 2021-05-18
  • 2021-07-11
  • 2021-12-19
  • 2021-05-26
  • 2022-12-23
  • 2021-12-19
  • 2022-02-09
  • 2022-01-09
猜你喜欢
  • 2021-07-28
  • 2022-01-26
  • 2021-12-19
  • 2021-12-16
  • 2021-12-06
  • 2021-06-07
  • 2021-12-19
相关资源
相似解决方案