Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-38793

[BP MB-38791] - Log files permissions excessively restrictive

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.4, 6.5.1
    • Fix Version/s: 6.5.1, 6.6.0
    • Component/s: eventing
    • Labels:
      None

      Description

      Currently eventing application logs are created with 0600 permission which prevents them from being processed by 3rd party tools. Ensure these are written with 0640 as that is more logically consistent choice with the functionality of these files.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

            Hide
            siri Sriram Melkote (Inactive) added a comment - - edited

            Verification: Set umask of couchbase user to 000. Prior to this fix, log files are created with permissions 0660 (i.e., rw------) and after this fix, it will be 0640 (i.e., rw-r----).

            Show
            siri Sriram Melkote (Inactive) added a comment - - edited Verification: Set umask of couchbase user to 000. Prior to this fix, log files are created with permissions 0660 (i.e., rw------ ) and after this fix, it will be 0640 (i.e., rw-r ---- ).
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.6.0-7509 contains eventing commit 104dc87 with commit message:
            MB-38793

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7509 contains eventing commit 104dc87 with commit message: MB-38793
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.5.1-6299 contains eventing commit 104dc87 with commit message:
            MB-38793

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.1-6299 contains eventing commit 104dc87 with commit message: MB-38793
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-1006.5.1-1118 contains eventing commit 104dc87 with commit message:
            MB-38793

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-1006.5.1-1118 contains eventing commit 104dc87 with commit message: MB-38793
            Hide
            vikas.chaudhary Vikas Chaudhary added a comment -

            verified on 6.5.1-6299

            root@node2-cb602-ubuntu16:/opt/couchbase/var/lib/couchbase/data/@eventing# ls -l
            total 0
            -rw-r----- 1 couchbase couchbase 0 Apr 16 23:01 test.log 

            Show
            vikas.chaudhary Vikas Chaudhary added a comment - verified on 6.5.1-6299 root@node2-cb602-ubuntu16:/opt/couchbase/var/lib/couchbase/data/@eventing# ls -l total 0 -rw-r----- 1 couchbase couchbase 0 Apr 16 23:01 test.log
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-1006.5.1-1125 contains eventing commit 104dc87 with commit message:
            MB-38793

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-1006.5.1-1125 contains eventing commit 104dc87 with commit message: MB-38793

              People

              Assignee:
              siri Sriram Melkote (Inactive)
              Reporter:
              jeelan.poola Jeelan Poola
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty