Closed (fixed)
Project:
File Log
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Apr 2021 at 10:16 UTC
Updated:
19 May 2021 at 09:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
prudloff commentedComment #4
cburschkaVery good idea.
I'd like to check this function in the unit test, and also make sure that it doesn't cause errors if chmod doesn't work for some reason (I can't remember what edge cases we support for the log file)
Comment #5
cburschkaConveniently, the unit test by default creates a file with 0666 permissions in the virtual file system, which the chmod call will set to 0664. This means this patch should cover it, even though the problematic case (too few permissions) doesn't occur here.
Comment #8
cburschkaAnd pushed! Thanks!
Comment #10
senzaesclusiva commentedEverythings finally works well
D 8.9.14 /Php 7.4.2/Mysql 5.7.26
D 9.1.8 //Php 7.4.2/Mysql 5.7.26
Many thanks for this patch