What is the correct way to mount a disk image so all users (guest included) are able to access it?
I'm currently stuck after mounting it with:
sudo mount -o loop,users,ro,offset=262145048576 '/path/Disk Image.img' '/media/guest-Folder/Disk'
My normal user session can access it, but on a guest session I get an error: "This location could not be displayed. You don't have the permissions necessary to view the contents of Disk" while trying to view the contents in Nautilus.
The guest session is prevented to access it because of the default AppArmor setting. One way to fix it should be to open this file for editing:
find these lines:
and remove the owner keyword so it looks like:
But that would give the guest users access to all mounted stuff, which would defeat the security scheme. So I would rather add a new rule, so it looks something like this: