浏览代码

fix chown to root

lapineige 1 年之前
父节点
当前提交
c8073c748b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/install

+ 1 - 1
scripts/install

@@ -158,7 +158,7 @@ ynh_store_file_checksum --file="/etc/cron.d/$app"
 #=================================================
 
 # Set permissions to app files
-chown -R root: $final_path
+chown -R $app: $final_path
 
 #=================================================
 # GENERIC FINALIZATION