1
0

Excluded executables from NoExecPaths.

This commit is contained in:
Alexander Andreev 2022-03-20 18:40:26 +04:00
parent 5037a6103f
commit 9ec920f3aa
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ ReadOnlyPaths=/
# Set here path to directory where uploads are stored. # Set here path to directory where uploads are stored.
ReadWritePaths=/srv/upload ReadWritePaths=/srv/upload
NoExecPaths=/ NoExecPaths=/
ExecPaths=/usr/bin/dwelling-upload-clean
LogsDirectory=dwelling-upload LogsDirectory=dwelling-upload

View File

@ -13,6 +13,7 @@ ReadOnlyPaths=/
# Set here path to directory where uploads are stored. # Set here path to directory where uploads are stored.
ReadWritePaths=/srv/upload ReadWritePaths=/srv/upload
NoExecPaths=/ NoExecPaths=/
ExecPaths=/usr/bin/dwelling-upload
LogsDirectory=dwelling-upload LogsDirectory=dwelling-upload