Good day, we have a problem with regards of running flatpak app via PHP’s exec() or Laravel’s Process helper. It always returns Permission Denied error.
When we run it to terminal directly, it runs okay. Already made the directories’ permissions to 777 but still permission denied. how can we fix this? the app we were trying to run on flatpak is LibreOffice.
Update: Seems like its not the PHP that’s the issue. its apache. i tried to run the flatpak app via PHP, it runs, with the current user. but it seems its permission denied on apache. anyone know how to give permission to apache to run flatpak?
Hoping for a response. thanks in advance.