Bugzilla – Attachment 105137 Details for
Bug 25284
Can't open /var/log/koha/kohadev/opac-error.log (Permission denied)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25284: chown /var/log/koha log files on koha-create
Bug-25284-chown-varlogkoha-log-files-on-koha-creat.patch (text/plain), 979 bytes, created by
Martin Renvoize
on 2020-05-20 08:17:39 UTC
(
hide
)
Description:
Bug 25284: chown /var/log/koha log files on koha-create
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2020-05-20 08:17:39 UTC
Size:
979 bytes
patch
obsolete
>From 5f9cc8ada9a3186265f7c4fff1529775f03ac969 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 19 May 2020 14:26:56 +0200 >Subject: [PATCH] Bug 25284: chown /var/log/koha log files on koha-create > >To prevent Apache to create intranet-error.log and opac-error.log with >root permission we chown them after it has been restarted (and so >created them) when a new Koha instance is created > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > debian/scripts/koha-create | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 45c1ef644f..b90e7d4e23 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -757,6 +757,8 @@ then > # Get letsencrypt certificates > letsencrypt_instance > fi >+ >+ chown $username:$username /var/log/koha/$name/*.log > fi > > >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25284
:
105086
|
105124
| 105137