Call recording file permissions

Hi,

Is there a way to change the default recording file permissions that FreePBX uses when writing the files?

I have a process that copies the files off the system then deletes the originals to save on storage space. It has it’s own user account that is part of the asterisk group. Now after doing some module updates and rebooting the system, the umask I set in the past is no longer applying to the new recording files. The issue is that new files do not have group write permissions.

This system is currently running the FreePBX distro 13.0.195.22 with the latest module updates.

You could use a “sudo asterisk” to change the job’s functionality to 'chown -g+w `find /var/spool/asterisk/monitor` ’ the files before they are deleted (say just before or after the copy) so that you can delete them from your current script.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.