@JaredBusch said in Permissions in Linux - Asterisk:
@scottalanmiller said in Permissions in Linux - Asterisk:
@fuznutz04 said in Permissions in Linux - Asterisk:
@scottalanmiller said in Permissions in Linux - Asterisk:
@fuznutz04 said in Permissions in Linux - Asterisk:
@JaredBusch said in Permissions in Linux - Asterisk:
@fuznutz04 said in Permissions in Linux - Asterisk:
Is one method preferred/better than the other? (script to change permissions vs changing file location of file)
To me, it would come down to WTF you are using these custom things for. Without that detail, I have no idea what would be better.
We're querying a file in this location to get some information from the PBX such as current calls, queue information, etc for an internal piece of software. It doesn't have to be in that directory, so I'll go down t he path of just moving the files and referencing them. Hopefully FreePBX wont overwrite the apache conf file when upgraded/reloaded.
Why not push it directly to where you need it?
You mean push the original files in question to the PBX via script?
I thought that they were already on the PBX. Push them to somewhere else via script is what I was thinking.
They (apparently) have custom scripts that pull data from Asterisk for use elsewhere. These scripts would have to reside on the Asterisk box.
Understood. Was thinking that instead of saving the data locally, they could immediately push it elsewhere so that the perms wouldn't be an issue.