Bug 256106

Summary: fix cgi permissions for the website
Product: Documentation Reporter: Wolfram Schneider <wosch>
Component: Books & ArticlesAssignee: Wolfram Schneider <wosch>
Status: Closed FIXED    
Severity: Affects Many People    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D30406

Description Wolfram Schneider freebsd_committer freebsd_triage 2021-05-23 18:54:45 UTC
The new hugo based tools installs the cgi scripts from

./website/content/en/cgi/*.cgi

to
./website/public/cgi/*.cgi

but don't set the permission correctly to execute the cgi scripts.
Comment 1 Wolfram Schneider freebsd_committer freebsd_triage 2021-05-23 19:01:21 UTC
Apparently hugo cannot handle permissions, so this needs to be fixed by a makefile rule.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-05-25 06:38:31 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=ade023a35909a87cfe9489eeb9b3bd3b096f3d93

commit ade023a35909a87cfe9489eeb9b3bd3b096f3d93
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2021-05-25 06:33:48 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2021-05-25 06:37:35 +0000

    fix cgi permissions for the website

    PR: 256106
    Approved by:    se, philip, lwhsu
    Differential Revision: https://reviews.freebsd.org/D30406

 website/Makefile | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)