[Nexus 6P Original Android Development] lolop1:
Camera file permission issues??

Anyone else having issues recording video on Lineage?

edit: oh I should say I have all permissions turned on in the camera app permissions settings dealy

The camera folder is present:

angler:/data/data/berserker.android.apps.sshdroid/home # ls -lh /storage/emulated/0/DCIM/
drwxrwx--x 2 root sdcard_r 8.0K Mar 16 23:37 100_CFV5
drwxrwx--x 26 root sdcard_r 3.4K Feb 7 10:25 Camera
drwxrwx--x 2 root sdcard_r 3.4K Mar 27 02:13 Facebook
drwxrwx--x 2 root sdcard_r 3.4K Feb 7 10:25 Restored

I get an EACCESS when trying to use the camera:

03-30 16:35:15.035 7977 8274 E VideoRecPreImp2: Fail to build a video recorder.
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2: com.google.android.apps.camera.camcorder.videorecorder.MediaMuxerException: Unable to create MediaMuxer with file path /storage/emulated/0/DCIM/Camera/VID_20170330_163515.mp4 and format 0
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.android.apps.camera.camcorder.videorecorder.MediaMuxerFactory.create(MediaMuxerFactory.java:31)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.android.apps.camera.camcorder.videorecorder.MuxerProcessorImpl.<init>(MuxerProcessorImpl.java:75)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.android.apps.camera.camcorder.videorecorder.VideoRecorderImpl.<init>(VideoRecorderImpl.java:292)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.android.apps.camera.camcorder.videorecorder.VideoRecorderImpl.<init>(VideoRecorderImpl.java:23)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.android.apps.camera.camcorder.videorecorder.VideoRecorderImpl$Builder.build(VideoRecorderImpl.java:153)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.android.apps.camera.legacy.app.camcorder.media.VideoRecorderPreparerImpl$1.apply$5166KOBMC4NMOOBECSNKORRECSTIIJ33DTMIUPRFDTJMOP9FCDNMQRBFDONNAT39DGNM6RRECDQN4SJ5DPQ2UJ39EDQ6ARJ1C9M6AHJLEHQN4P9R0(VideoRecorderPreparerImpl.java:173)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.android.apps.camera.legacy.app.camcorder.media.VideoRecorderPreparerImpl$1.apply(VideoRecorderPreparerImpl.java:100)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(AbstractTransformFuture.java:1211)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:130)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.common.util.concurrent.MoreExecutors$5$1.run(MoreExecutors.java:952)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at java.lang.Thread.run(Thread.java:761)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.android.apps.camera.async.AndroidPriorityThread.run(AndroidPriorityThread.java:32)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2: Caused by: java.io.FileNotFoundException: /storage/emulated/0/DCIM/Camera/VID_20170330_163515.mp4: open failed: EACCES (Permission denied)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at libcore.io.IoBridge.open(IoBridge.java:455)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:247)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:128)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at android.media.MediaMuxer.<init>(MediaMuxer.java:145)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at com.google.android.apps.camera.camcorder.videorecorder.MediaMuxerFactory.create(MediaMuxerFactory.java:29)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	... 13 more
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2: Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at libcore.io.Posix.open(Native Method)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	at libcore.io.IoBridge.open(IoBridge.java:441)
03-30 16:35:15.035 7977 8274 E VideoRecPreImp2:	... 17 more