Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
http-faccess
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
testing
http-faccess
Commits
88650855
Commit
88650855
authored
Apr 22, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the gid and mode options.
parent
5bef64dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
3 deletions
+47
-3
README.md
README.md
+28
-3
doc.go
doc.go
+19
-0
No files found.
README.md
View file @
88650855
...
...
@@ -9,11 +9,12 @@ owner can read files relative to a base directory.
```go
http-faccess [-address addr] [-base dir] [-access log] [-error log]
http-faccess [-address addr] [-base dir] [-access log] [-error log]
[-gid gid] [-mode mode]
http-faccess -version
http-faccess -version
http-faccess -help
http-faccess -help
```
### DESCRIPTION
...
...
@@ -211,6 +212,30 @@ file already exists at that path, then http-faccess fails to
start. By default, http-faccess listens at port :7357.
```go
-gid groupid
```
Set the numeric group id of the socket file created when the server
starts, if a Unix domain socket was specified by the -address
option. Ignored if the server is listening at an IP address. If
groupid is -1, then the gid of the socket file is not changed --
this is the default.
```go
-mode mode
```
Set the permissions of the socket file created when the server
starts, if a Unix domain socket was specified by the -address
option. Ignored if the server is listening at an IP address. If the
value of mode has a leading 0, it is interpreted as an octal
number, so that the customary notation for permissions can be used
(such as 0660). If mode is -1, the permissions of the socket file
are not changed -- this is the default.
```go
-access logfile
```
...
...
doc.go
View file @
88650855
...
...
@@ -33,6 +33,7 @@
//
// .
// http-faccess [-address addr] [-base dir] [-access log] [-error log]
// [-gid gid] [-mode mode]
//
// http-faccess -version
//
...
...
@@ -211,6 +212,24 @@
// file already exists at that path, then http-faccess fails to
// start. By default, http-faccess listens at port :7357.
//
// -gid groupid
//
// Set the numeric group id of the socket file created when the server
// starts, if a Unix domain socket was specified by the -address
// option. Ignored if the server is listening at an IP address. If
// groupid is -1, then the gid of the socket file is not changed --
// this is the default.
//
// -mode mode
//
// Set the permissions of the socket file created when the server
// starts, if a Unix domain socket was specified by the -address
// option. Ignored if the server is listening at an IP address. If the
// value of mode has a leading 0, it is interpreted as an octal
// number, so that the customary notation for permissions can be used
// (such as 0660). If mode is -1, the permissions of the socket file
// are not changed -- this is the default.
//
// -access logfile
//
// Write the server access log (in Common Log Format) to *logfile*, or
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment