[mythtv-users] [OT] Making DVD-RW drive available to MythTV and VNC users?
Tony Godshall
togo at of.net
Thu Oct 4 02:48:50 UTC 2007
# adduser otheruser disk
group disk has sufficient permission so adding otheruser to disk group
should be enough (and make sure otheruser logs out and logs back in)
On 10/3/07, Ben Lancaster <lists at benlancaster.co.uk> wrote:
> Hi guys,
>
> I'm sure people on the list have have come accross this.
>
> OK, so I have one DVD-RW drive in my house... in my Myth Box. It
> would seem that Linux (F7 specifically) only gives the necessary
> permissions to the drive for the user who 'owns' localhost:0.
>
> # stat /dev/scd0
> File: `/dev/scd0'
> Size: 0 Blocks: 0 IO Block: 4096 block
> special file
> Device: 10h/16d Inode: 5164 Links: 1 Device type: b,0
> Access: (0666/brw-rw----) Uid: ( 501/mythtv) Gid: ( 6/ disk)
>
> 501/mythtv is the user that my front end is running on. I also have a
> VNC session running under a different UID all the time for picking up
> personal e-mails etc from work via an SSH tunnel, I use this VNC
> session to burn CDs/DVDs non-Myth media with Graveman/K3B. The
> trouble is, every time I insert the disc, I have to go in and
> manually change the permissions of the device so that the user my VNC
> session is running as can access it.
>
> Is there a decent solution for this, so both the VNC user and front
> end can access the device for reading/writing?
>
> I'm using Fedora 7 on an x86_64, with a nondescript Sony drive (not
> that it matters).
>
> Thanks in advance,
>
> Ben
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
--
Best Regards.
Please keep in touch.
More information about the mythtv-users
mailing list