Skip to content
This repository has been archived by the owner. It is now read-only.

Allow exposing optical media devices #139

Closed
hadess opened this issue Apr 22, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@hadess
Copy link
Contributor

commented Apr 22, 2016

For DVD and VCD playback to work in totem, the application might need access to the device itself, as well as the mount point for that filesystem (to check what is on the disc).

@alexlarsson

This comment has been minimized.

Copy link
Owner

commented Apr 22, 2016

I understand the need, but direct block device access is scary stuff it things go wrong. I mean, a cdrom device is just a block device node like any other, such as your ide disks...

How does user permissions for dvd devices work? What makes it possible for the user to read the dvd drive device?

@hadess

This comment has been minimized.

Copy link
Contributor Author

commented Apr 22, 2016

Right now? systemd-udev has rules to mark "CD drives" (meaning any optical media) as such:
/usr/lib/udev/rules.d/50-udev-default.rules
and
/usr/lib/udev/rules.d/60-cdrom_id.rules

I don't know what changes the permissions to access it though.

@alexlarsson

This comment has been minimized.

Copy link
Owner

commented May 19, 2016

This issue was moved to flatpak/flatpak#12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.