Browse Source

最新代码上传

tushan 1 year ago
parent
commit
4a2e81fb8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docker/start.sh

+ 1 - 1
docker/start.sh

@@ -22,7 +22,7 @@ chmod -R 777 "$destination_dir"
 if [ ! -e "$lock_file" ]; then
 if [ ! -e "$lock_file" ]; then
     # 如果锁文件不存在,执行移动操作
     # 如果锁文件不存在,执行移动操作
     rsync -aL "$source_dir/" "$destination_dir"
     rsync -aL "$source_dir/" "$destination_dir"
-
+    chmod -R 777 "$destination_dir"
     # 创建锁文件
     # 创建锁文件
     touch "$lock_file"
     touch "$lock_file"
     rm -rf "$source_dir";
     rm -rf "$source_dir";