On 04/07/2012 04:20 PM, Noah Engelberth wrote:
-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of sean darcy
Sent: Saturday, April 07, 2012 4:10 PM
To: [email protected]
Subject: [asterisk-users] Unable to access the running directory (Permission 
denied).

On 10.3, running as user asterisk.

ps aux | grep bin/asterisk
asterisk  1860  0.2  1.8 1246948 33116 ?       Ssl  16:02   0:00
/usr/sbin/asterisk -C /etc/asterisk/asterisk.conf

When I login into asterisk as user asterisk I get:

"Unable to access the running directory (Permission denied).  Changing to '/' for 
compatibility."

All the folders are set with asterisk.asterisk.

/var/lib/asterisk
/var/log/asterisk
/var/run/asterisk
/var/spool/asterisk

Any suggestions appreciated.

sean


--

In order to reconnect to asterisk (asterisk -r), you need root permissions.  So 
either you have to do it as root (bad), or use sudo to do it as user asterisk 
(recommended).

Noah


Hmm. Surprising. I would have thought you could reconnect to asterisk if you were the user under which asterisk was running. But ok, will use sudo.

Thanks,

sean


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to