[Asterisk-Users] Dial out .call files File permissions??

Peter Fern pete at keypoint.com.au
Tue Mar 28 20:40:00 MST 2006



Tomislav Vojvodic wrote:

>If you put 777 on some file, that means that anyone can read/write/execute
>that file.. I think that file ownership isn't important in that case, but if
>you want to set 'precise' permissions so that only user 'asterisk' can deal
>with it.. then type
>
>chmod 644 filename (owner can read/write, others can only read)
>
>..or 
>
>chmod 600 filename (only owner can read/write)
>
>..and set file ownership to asterisk user (make sure that asterisk is really
>running under asterisk user)
>  
>
It's also best to either create the file as the asterisk user, or change 
ownership before dropping it into the spool to avoid race conditions.

>chown asterisk.asterisk filename
>  
>
should be:

chown asterisk:asterisk filename

'.' as a separator is deprecated.


>---
>
>Just for the record, I'm really new with * so it is possible that what I'm
>saying isn't correct. This is actually a linux question.. 
>
>Anywayz, hope this helps.
>
>
>Tomislav
>
>
>-----Original Message-----
>From: asterisk-users-bounces at lists.digium.com
>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bruno De Luca
>Sent: Tuesday, March 28, 2006 12:00 PM
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>Subject: Re: [Asterisk-Users] Dial out .call files File permissions??
>
>do u need to give the permission for user asterisk to uour file.
>
>Bruno.
>
>Marco Mouta wrote:
>  
>
>>Hi all,
>>
>>I've created this test.call file and it is not running outgoing call
>>    
>>
>files:
>  
>
>>i've made mv test.call /var/spool/asterisk/outgoing and nothing happens
>>
>>Channel: SIP/200
>>MaxRetries: 3
>>RetryTime: 40
>>WaitTime: 25
>>Context: from-internal
>>Extension: 200
>>Priority: 1
>>
>>My asterisk is running with asterisk user. not root user.
>>
>>Could you help me on ? Could this be a problem of file permissions?
>>_______________________________________________
>>--Bandwidth and Colocation provided by Easynews.com --
>>
>>Asterisk-Users mailing list
>>To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>  
>>    
>>
>
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>Asterisk-Users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>__________ NOD32 1.1459 (20060327) Information __________
>
>This message was checked by NOD32 antivirus system.
>http://www.eset.com
>
>
>
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>Asterisk-Users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>  
>



More information about the asterisk-users mailing list