fix: log file permissions

This commit is contained in:
SunBK201 2024-02-17 21:10:05 +08:00
parent ec2ae756b4
commit 8b492a3038

View File

@ -40,6 +40,7 @@ chmod ugo+w /var/log
if [ -f "/var/log/ua3f.log" ]; then
rm "/var/log/ua3f.log"
fi
touch /var/log/ua3f.log && chmod 666 /var/log/ua3f.log
if [ -f "$ua3f_tar" ]; then
rm "$ua3f_tar"