MoviePy error: FFMPEG permission error
After spending lots of time and trying lots of things, I have finally solved this issue. 
We can pass full path of temp video along with it's name, then it will create temp video at given path. Make sure you have write permissions on directory which you are going to set for temp video.
I am using Moviepy through a Django application on Ubuntu 14.04 system. It is giving me permissions error when it tries to write video file. Following are details of error :
MoviePy error: FFMPEG encountered the following error while writing file test1TEMP_MPY_wvf_snd.mp3:
test1TEMP_MPY_wvf_snd.mp3: Permission denied
It seems it has not correct permissions on directory where it is trying to write temporary files.
I have set the 777 on /tmp directory but no luck.
Please help me fix this issue.
Thanks