Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-22613

Using fwconsole downloadinstall XXX as root sets wrong permissions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 15.0.17.25
    • Fix Version/s: None
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
       16.6.2
    • Distro Version:
      10
    • Distro:
      Self Install Debian

      Description

      When installing a module from fwconsole downloadinstall XXX, the ownership of the symbolic link in the asset directory for that particular module is root:root instead of asterisk:asterisk ( in my exemple the folder is /opt/freepbx/www/admin/assets/ )

      Using fwconsole chown does not fix the problem

      {{root@freepbx:~# ll /opt/freepbx/www/admin/assets/ | grep root}}
       lrwxrwxrwx 1 root root 46 Jul 1 15:42 logagent -> /opt/freepbx/www/admin/modules/logagent/assets/
       root@freepbx:~# fwconsole chow
       Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
       Setting Permissions...
       Setting base permissions...Terminé in 1 seconds
       Setting specific permissions...
       43377 [============================]
       Finished setting permissions
       root@freepbx:~# ll /opt/freepbx/www/admin/assets/ | grep root
       lrwxrwxrwx 1 root root 46 Jul 1 15:42 logagent -> /opt/freepbx/www/admin/modules/logagent/assets/
       root@freepbx:~# chown -hR asterisk:asterisk /opt/freepbx/www/admin/assets
       root@freepbx:~# ll /opt/freepbx/www/admin/assets/ | grep root}
       root@freepbx:~#

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jbaron jbaron
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.