>The specific error is that it cannot chdir to the music on hold
>directory. Are you sure you have the right directory?
>
>what do you get when you do:
>CLI> moh show files
>and
>CLI> moh show classes
>
>The specific error is that it cannot chdir to the music on hold
>directory. Who owns the parent
Danny Nicholas schrieb:
> In my directory these files are 0644 (-rw-r--r--) and directory perms are
> 0755 (-rwxr-x-wx)
0755 is rwxr-xr-x :-)
Philipp Kempgen
--
AMOOCON 2009, May 4-5, Rostock / Germany -> http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk
On Mon, Feb 23, 2009 at 12:06 AM, Joseph L. Casale
wrote:
> I am running Asterisk as non root and have set the required permissions for
> all
> directories including the moh dir specified in musiconhold.conf yet asterisk
> still complains it doesn't have access when starting? I get:
>
> WARNING[3
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Asterisk 1.6.0.5 as non root and moh perm
issue
>Have you tried this?
>
>'su - asterisk
>'cd /var/lib/asterisk/moh
>
>When this works, so will *.
Yup, I should hav
>Have you tried this?
>
>'su - asterisk
>'cd /var/lib/asterisk/moh
>
>When this works, so will *.
Yup, I should have stated that more specifically:
# ll /var/lib/asterisk/moh
total 6604
-rw-r- 1 asterisk asterisk 1939794 Sep 20 2006 fpm-calm-river.wav
-rw-r- 1 asterisk asterisk 2582196 S
1:06 PM
To: 'asterisk-users@lists.digium.com'
Subject: [asterisk-users] Asterisk 1.6.0.5 as non root and moh perm issue
I am running Asterisk as non root and have set the required permissions for
all
directories including the moh dir specified in musiconhold.conf yet asterisk
still complains it
I am running Asterisk as non root and have set the required permissions for all
directories including the moh dir specified in musiconhold.conf yet asterisk
still complains it doesn't have access when starting? I get:
WARNING[3600]: res_musiconhold.c:987 moh_scan_files: chdir() failed: Permission