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

2009-02-23 Thread Danny Nicholas
Have you tried this? 'su - asterisk 'cd /var/lib/asterisk/moh When this works, so will *. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joseph L. Casale Sent: Sunday, February 22, 2009 11:06 PM To:

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 Sep 20

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 have stated that more specifically: # ll /var/lib

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 jcas...@activenetwerx.com 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

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 -

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 directory?