Package: destar
Version: 0.1.0-1
Severity: normal

The configuration file destar_cfg.py located in /etc/asterisk is owned by the 
root 
user. When go to administration web panel and try to access in 
Configuration/View 
Configuration, the next error is shown:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/quixote/publish.py", line 522, in 
process_request
    output = self.try_publish(request, env.get('PATH_INFO', ''))
  File "/usr/lib/python2.3/site-packages/quixote/publish.py", line 457, in 
try_publish
    output = object(request)
  File "/usr/share/destar/python/page_config_viewconf.ptl", line 80, in _q_index
    configEntries = backend.createAsteriskConfig()
  File "/usr/share/destar/python/backend.py", line 330, in createAsteriskConfig
    createPythonConfig()
  File "/usr/share/destar/python/backend.py", line 90, in createPythonConfig
    f = open(os.path.join(configlets.CONF_DIR,DESTAR_CFG),"w")
IOError: [Errno 13] Permission denied: '/etc/asterisk/destar_cfg.py'

The solution for this in my case, was change ownership using the user/group 
"asterisk". 

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.12idct
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages destar depends on:
ii  asterisk                  1:1.2.1.dfsg-1 open source Private Branch Exchang
ii  python                    2.3.5-3        An interactive high-level object-o
ii  python-medusa             0.5.4-2        Framework for implementing asynchr
ii  quixote1                  1.2-1          A highly Pythonic Web application 

Versions of packages destar recommends:
ii  python-pychart                1.37-5     Python library for creating high q
ii  python-sqlite                 1.0.1-4    python interface to SQLite 2
ii  sqlite                        2.8.16-1   command line interface for SQLite

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to