Re: [asterisk-users] Asterisk 1.6.0.5 as non root and moh perm issue

2009-02-23 Thread Joseph L. Casale
>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

Re: [asterisk-users] Asterisk 1.6.0.5 as non root and moh perm issue

2009-02-23 Thread Philipp Kempgen
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

Re: [asterisk-users] Asterisk 1.6.0.5 as non root and moh perm issue

2009-02-23 Thread David Backeberg
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

Re: [asterisk-users] Asterisk 1.6.0.5 as non root and moh perm issue

2009-02-23 Thread Danny Nicholas
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

Re: [asterisk-users] Asterisk 1.6.0.5 as non root and moh perm issue

2009-02-23 Thread Joseph L. Casale
>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

Re: [asterisk-users] Asterisk 1.6.0.5 as non root and moh perm issue

2009-02-23 Thread Danny Nicholas
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

[asterisk-users] Asterisk 1.6.0.5 as non root and moh perm issue

2009-02-22 Thread Joseph L. Casale
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