You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/05/22 02:47:38 UTC
[jira] [Commented] (TS-2421) HostDB creates files FOR THE DEVIL
[ https://issues.apache.org/jira/browse/TS-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14005474#comment-14005474 ]
Leif Hedstrom commented on TS-2421:
-----------------------------------
Hmmm, I don't see this actually, I mean, none of the files gets created with that perm. Maybe this is dead code?
> HostDB creates files FOR THE DEVIL
> ----------------------------------
>
> Key: TS-2421
> URL: https://issues.apache.org/jira/browse/TS-2421
> Project: Traffic Server
> Issue Type: Bug
> Components: DNS, Security
> Reporter: Igor Galić
> Assignee: Leif Hedstrom
> Fix For: sometime
>
>
> from iocore/hostdb/MultiCache.cc:
> {code}
> // XXX: Shouldn't that be 0664?
> //
> if ((fd =::open(p, O_CREAT | O_WRONLY | O_TRUNC, 0666)) >= 0) {
> {code}
> Yes. Yes it should.
--
This message was sent by Atlassian JIRA
(v6.2#6252)