Skip to content

Commit

Permalink
MB-38793
Browse files Browse the repository at this point in the history
[BP MB-38791] - Log files permissions excessively restrictive

Change-Id: I540bb949fedb09af23efef0f621ebd1ffea92ed3
Reviewed-on: http://review.couchbase.org/c/eventing/+/125925
Reviewed-by: Jeelan Basha Poola <jeelan.poola@couchbase.com>
Tested-by: Sriram Melkote <siri@couchbase.com>
(cherry picked from commit 46a6d1e)
Reviewed-on: http://review.couchbase.org/c/eventing/+/125801
Reviewed-by: Sriram Melkote <siri@couchbase.com>
(cherry picked from commit 301250a)
Reviewed-on: http://review.couchbase.org/c/eventing/+/125802
  • Loading branch information
Sriram Melkote committed Apr 16, 2020
1 parent 5480d0a commit 104dc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion producer/producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (p *Producer) Serve() {

go p.pollForDeletedVbs()

p.appLogWriter, err = openAppLog(p.appLogPath, 0600, p.appLogMaxSize, p.appLogMaxFiles)
p.appLogWriter, err = openAppLog(p.appLogPath, 0640, p.appLogMaxSize, p.appLogMaxFiles)
if err != nil {
logging.Fatalf("%s [%s:%d] Failure to open application log writer handle, err: %v",
logPrefix, p.appName, p.LenRunningConsumers(), err)
Expand Down

0 comments on commit 104dc87

Please sign in to comment.