Open Mariusz89B opened 1 year ago
The issue seems to be releated to Android Q executing permissions. After some initial tests by myself and @heppenowski, while moving ffmpeg manually in to root directory (special://xbmc
, /data/data/org.xbmc.kodi/ffmpeg
) with assigned permissions it is possible to execute and run ffmpeg, but Android will not allow to let python move ffmpeg files to root.
This issue might be solved if Kodi decided to ship ffmpeg binary, then it would be possible to execute it on Android 11.
Bug report
Describe the bug
I have a question regarding permissions for executing scripts in Android, I have assigned permissions for executing ffmpeg but nevertheless I still end up getting "Permission denied" no matter what permissions I assign to the file.
Have not had these concerns on earlier versions of Android, so probably something that has changed in the later versions that I have not managed to figure out. Anyone possibly know how to get around this problem?
Expected Behavior
Allow writing recording file to disk.
Actual Behavior
Permission denied.
Possible Fix
Not available.
To Reproduce
Steps to reproduce the behavior:
Start recording on Android system.
Here I have assigned read, write and execution permissions for owner as well as deletion permissions. Permissions for ffmpeg
And here is the subprocess output for running ffmpeg. Subprocess command
output: probesize: /data/user/0/org.xbmc.kodi/recapp-posix/ffmpeg: Permission denied
Debuglog
log.txt
Your Environment
Used Operating system:
[x] Android
[ ] iOS
[ ] tvOS
[ ] Linux
[ ] OSX
[ ] Windows
[ ] Windows UWP
Operating system version/name: NVIDIA Shield TV 9.1
Kodi version: 19.3
*note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
m-TVGuide administration will consider your problem report however, we will not make any promises the problem will be solved.*