Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1942

/var/log/mariadb folder is under root in a non-root user install

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • 1.2.1
    • Icebox
    • installation
    • CentOS 7/RHEL 7

    Description

      After executing the syslogSetup.sh using root user the Columnstore log files are still under root, it the /var/log/mariadb folder and it subfolders/ files ownership should be changed to the non-root user that we pass to the syslogSetup.sh script and permission set to 750 insteadl of 777

      /home/mcsadm/mariadb/columnstore/bin/syslogSetup.sh --installdir=/home/mcsadm/mariadb/columnstore --user=mcsadm install
      

      [root@pm1-201 mcsadm]# cd /var/log
      [root@pm1-201 log]# cd mariadb/
      [root@pm1-201 mariadb]# ls -rlt
      total 0
      drwxrwxrwx 5 root root 155 Nov 15 12:12 columnstore
      [root@pm1-201 mariadb]# cd columnstore/
      [root@pm1-201 columnstore]# ls -rlt
      total 128
      drwxrwxrwx 2 root root      6 Nov 15 11:31 trace
      drwxrwxrwx 2 root root      6 Nov 15 11:31 corefiles
      drwxrwxrwx 2 root root      6 Nov 15 11:31 archive
      -rwxrwxrwx 1 root root    294 Nov 15 12:10 mcsadmin.log
      -rwxrwxrwx 1 root root   2471 Nov 15 12:10 alarm.log
      -rwxrwxrwx 1 root root    423 Nov 15 12:10 warning.log
      -rwxrwxrwx 1 root root    423 Nov 15 12:10 err.log
      -rwxrwxrwx 1 root root   5783 Nov 15 12:11 info.log
      -rwxrwxrwx 1 root root 102770 Nov 15 12:11 debug.log
      [root@pm1-201 columnstore]#
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Faisal Faisal Saeed (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.