Commit 6b599cd
committed
Local storage should not store files as executable (go-gitea#22162)
Backport go-gitea#22162
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 e88218f commit 6b599cd
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
0 commit comments