I'm trying to run a jail with HandBrakeCLI installed. I keep getting the error below (only the very end is posted for brevity). I think it's a problem with the destination directory permissions for HandBrake. Does anyone know what the permissions for this folder should be? Currently they are set to root:wheel.
x265 [info]: Rate Control / qCompress : CRF-18.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: deblock sao
ERROR: avio_open2 failed, errno -21
Encoding: task 1 of 1, 0.00 %[00:14:39] work: average encoding speed for job is 0.000000 fps
[00:14:40] vfr: lost time: 0 (0 frames)
[00:14:40] vfr: gained time: 0 (0 frames) (0 not accounted for)
Encoding: task 1 of 1, 0.00 %[00:14:40] aac-decoder done: 0 frames, 0 decoder errors
[00:14:40] aac-decoder done: 0 frames, 0 decoder errors
[00:14:40] h264-decoder done: 0 frames, 0 decoder errors
[00:14:40] sync: got 0 frames, 48929 expected
encoded 0 frames
[00:14:40] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[00:14:40] mux: track 1, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[00:14:40] mux: track 2, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[00:14:40] libhb: work result = 3
Encode failed (error 3).
HandBrake has exited.