浏览代码

feat: Allow symlinks in shared folder (#1001)

James Nguyen 6 月之前
父节点
当前提交
28f6e9c76b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/samba.sh

+ 3 - 0
src/samba.sh

@@ -71,6 +71,9 @@ addShare() {
         echo "    guest account = nobody"
         echo "    map to guest = Bad User"
         echo "    server min protocol = NT1"
+        echo "    follow symlinks = yes"
+        echo "    wide links = yes"
+        echo "    unix extensions = no"
         echo ""
         echo "    # disable printing services"
         echo "    load printers = no"