View Single Post
Posts: 21 | Thanked: 19 times | Joined on Oct 2011 @ Germany/Siegen
#1
I encrypted my /home/user/MyDocs via cryptsetup luks. Works fine, except the camera doesn't want to take pictures because it thinks it has no permission to do so.

But if I loop-mount the _same_ filesystem everything is fine.

Code:
mount /dev/mapper/mydocs_luks -o rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir /home/user/MyDocs/
=> camera complains: NO PERMISSIONS! I cannot take a photo.

Code:
losetup /dev/loop4 /dev/mapper/mydocs_luks 
mount /dev/loop4 -o rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir /home/user/MyDocs/
=> everything is fine. I can take a photo.

wtf!?

Where does the camera gets its permission status from? Definitively not by checking the real permissions, because they must be absolutely identical!

Anyone using luks encryption and the camera?