Commit dec8ffc
committed
Local storage should not store files as executable
The PR go-gitea#21198 introduced a probable security vulnerability which resulted in making all
storage files be marked as executable.
This PR ensures that these are forcibly marked as non-executable.
Fix go-gitea#22161
Signed-off-by: Andrew Thornton <[email protected]>1 parent 998fe26 commit dec8ffc
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
0 commit comments