On Wed, 3 Aug 2011, Shaun Wingrin wrote:
When * reloads it changes the file permissions of below file.
Asterisk doesn't change file permissions. Maybe your startup script does?
How can I call an executable which corrects for this?
You should treat the cause, not the symptom.
chmod 777 /var/lib/asterisk/agi-bin/dialparties.agi
This is a bad idea. Do you really want anybody to be able to delete or modify this file? What would happen if I were to replace this file with one containing 'rm --force --recursive /' and then call in?
'777' says 'I really don't know what I'm doing and I'm too lazy to try to figure it out.' Guess how many files have '777' on any freshly installed OS?
-- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards [email protected] Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _____________________________________________________________________ -- 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
