转载感谢:https://wohoho.net/?p=2158
电脑在共享时占用进程,导致拒绝访问共享文件夹

电脑在共享时占用进程,导致拒绝访问共享文件夹
1.用vi编辑crontab

vi /etc/config/crontab

2.插入以下命令后保存

*/1 * * * * /usr/local/samba/bin/smbstatus | grep DENY_ALL |xargs kill -9

3.重启crontab

crontab /etc/config/crontab && /etc/init.d/crond.sh restart

相关文章:

  • 2021-11-26
  • 2021-12-06
  • 2022-02-27
  • 2021-08-21
  • 2021-04-01
  • 2021-05-17
  • 2021-09-28
  • 2021-11-06
猜你喜欢
  • 2022-01-09
  • 2021-12-15
  • 2021-07-09
  • 2021-12-03
  • 2022-02-01
  • 2021-11-26
  • 2021-12-19
相关资源
相似解决方案