mirror of
https://github.com/tildeclub/site.git
synced 2026-10-23 03:27:14 +00:00
Correct CGI UID/GID information in cgi.md
The Fcgiwrap's change to a new UID/GID has already been in effect at least since 25 January 2026 20:32:26 GMT. This patch updates the corresponding Tilde.club Wiki page to reflect this change. This patch is provided to Tilde.club under the terms of GNU General Public License, any version published by the Free Software Foundation.
This commit is contained in:
+9
-5
@@ -424,13 +424,17 @@ And some caveats:
|
||||
If you would like to distribute these verbatim as source files,
|
||||
you might want to workaround by renaming such files
|
||||
to add <q><samp>.txt</samp></q> at the end.
|
||||
- CGI programs here run under web server's credentials:
|
||||
user <q><samp>nginx</samp></q>
|
||||
and group <q><samp>nginx</samp></q>
|
||||
(user ID <samp>994</samp>,
|
||||
group ID <samp>990</samp>);
|
||||
- CGI programs here run under a dedicated user <q><samp>cgiwrap</samp></q>
|
||||
and group <q><samp>cgiwrap</samp></q>
|
||||
(user ID <samp>480</samp>,
|
||||
group ID <samp>463</samp>);
|
||||
tread carefully if you need to make your program read/write
|
||||
private files.
|
||||
Note that this is also different
|
||||
from the credentials that the web server itself uses
|
||||
when serving static files
|
||||
(user <q><samp>nginx</samp></q> ID <samp>994</samp>,
|
||||
group <q><samp>nginx</samp></q> ID <samp>990</samp>).
|
||||
|
||||
Further Reading
|
||||
---------------
|
||||
|
||||
Reference in New Issue
Block a user