If you're getting an "Access denied" error when trying to share photos using a QR code, here's a simple solution:

Instead of sharing directly, first save the image to your Gallery. Then, you should be able to share the QR code from the Collection menu without any issues.