mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 18:52:24 -05:00
[bugfix/docs] AppArmor profile for SQLite (#1864)
Our default configuration places the SQLite DB in /gotosocial/, but the AppArmor profile doesn't allow us to write there. Instead of making the whole directory writable, add a writable area in /gotosocial/db/ instead and advise in the docs to move the DB there.
This commit is contained in:
parent
97bc2e713a
commit
45773a0bf4
2 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ profile gotosocial flags=(attach_disconnected, mediate_deleted) {
|
|||
/usr/local/bin/gotosocial mrix,
|
||||
|
||||
owner /gotosocial/{,**} r,
|
||||
owner /gotosocial/db/* wk,
|
||||
owner /gotosocial/storage/** wk,
|
||||
|
||||
# Allow GoToSocial to write logs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue