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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.2.1
    • Fix Version/s: Icebox
    • Component/s: installation
    • Labels:
    • Environment:
      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              Faisal Faisal Saeed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration