Skip to content

[TS-4383] Allow group and others to read from the log pipe.#595

Closed
calavera wants to merge 2 commits intoapache:masterfrom
calavera:fix_ascii_pipe_mode
Closed

[TS-4383] Allow group and others to read from the log pipe.#595
calavera wants to merge 2 commits intoapache:masterfrom
calavera:fix_ascii_pipe_mode

Conversation

@calavera
Copy link
Copy Markdown
Contributor

ASCII_PIPE logs are created with 0600 privileges.
The owner of this pipe is nobody and the group is nogroup.
This is very limiting and it makes impossible to use the pipe to read
logs.

Signed-off-by: David Calavera david.calavera@gmail.com

ASCII_PIPE logs are created with 0600 privileges.
The owner of this pipe is `nobody` and the group is `nogroup`.
This is very limiting and it makes impossible to use the pipe to read
logs.

Signed-off-by: David Calavera <david.calavera@gmail.com>
@calavera calavera changed the title Allow group and others to read from the log pipe. [TS-4383] Allow group and others to read from the log pipe. Apr 25, 2016
@jpeach
Copy link
Copy Markdown
Contributor

jpeach commented Apr 27, 2016

Group definitely seems reasonable. Let's not do other yet?

@calavera
Copy link
Copy Markdown
Contributor Author

@jpeach nobody will be able to access it with only group either, because the group is nogroup.

@jpeach
Copy link
Copy Markdown
Contributor

jpeach commented Apr 27, 2016

Do you build Traffic Server with --with-group=nogroup?

Signed-off-by: David Calavera <david.calavera@gmail.com>
@calavera
Copy link
Copy Markdown
Contributor Author

mmm, for some reason I thought it was the default, but yes, that's what we're using. If it's not the default, I agree that giving only access to the group is more reasonable. I made the change.

@asfgit asfgit closed this in ecfe141 Apr 28, 2016
@calavera calavera deleted the fix_ascii_pipe_mode branch April 28, 2016 16:15
shinrich added a commit to shinrich/trafficserver that referenced this pull request Jan 9, 2018
ywkaras pushed a commit to ywkaras/trafficserver that referenced this pull request Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants