Bug 256106 - fix cgi permissions for the website
Summary: fix cgi permissions for the website
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Wolfram Schneider
URL: https://reviews.freebsd.org/D30406
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-23 18:54 UTC by Wolfram Schneider
Modified: 2021-05-25 06:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schneider freebsd_committer 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 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 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(-)