[重要安全性通知] 发现假冒 Qfinder Pro 网站。了解详情 >

Correct mangle filename for all shared folders in one time.(8.3 Filename)


最后修订日期: 2022-03-30

Summary

If the name of files and folders are in an unreadable format (8.3 filename) in a shared folder, you can find the properties of the problem shared folder and enable Only allows applications to access files using the long file name format, therefore, the name can be correctly displayed.

img

If you have multiple shared folders with the same problem, executing the following commands applies the setting to all shared folder in one time.

Procedures

  1. SSH access to the NAS
  2. Execute the following commands
/bin/sed -i '/^oplocks/d' /etc/config/smb.conf
/bin/sed -i '/^mangled names/d' /etc/config/smb.conf
/sbin/setcfg global "oplocks" yes -f /etc/config/smb.conf
/sbin/setcfg global "mangled names" no -f /etc/config/smb.conf
/etc/init.d/smb.sh restart

这篇文章有帮助吗?

谢谢您,我们已经收到您的意见。

需要进一步协助,欢迎前往官方社区发帖,与其他用户及 QNAP 专家交流。 前往 QNAP 官方社区

请告诉我们如何改进这篇文章:

如果您想提供其他意见,请于下方输入。

选择规格

      显示更多 隐藏更多
      open menu
      back to top