2005-03-18 14:45:58

by Martin Zwickel

[permalink] [raw]
Subject: 2.6.11: CDROM_SEND_PACKET as non-root?

Hi all!

I have a small question:
What do I have to do, to let the ioctl CDROM_SEND_PACKET work as a
non-root user under 2.6.11?

I try to burn a DVD with growisofs as a non-root user without success.

I know that there were some changes about access restriction (since
2.6.8), but I haven't found anything to get a clue about the current
status.

So is it just impossible to send a packet to the DVD burner without root
access? Do I have to use a wrapper that sets the effective user id to
root and then runs growisofs?


It's friday, so sorry for that stupid question, but a comment on that
would be fine :)

Regards,
Martin

--
MyExcuse:
Recursive traversal of loopback mount points

Martin Zwickel <[email protected]>
Research & Development

TechnoTrend AG <http://www.technotrend.de>


Attachments:
(No filename) (189.00 B)

2005-03-18 15:29:43

by ismail dönmez

[permalink] [raw]
Subject: Re: 2.6.11: CDROM_SEND_PACKET as non-root?

growisofs works as a non-root user here.


On Fri, 18 Mar 2005 15:45:46 +0100, Martin Zwickel
<[email protected]> wrote:
> Hi all!
>
> I have a small question:
> What do I have to do, to let the ioctl CDROM_SEND_PACKET work as a
> non-root user under 2.6.11?
>
> I try to burn a DVD with growisofs as a non-root user without success.
>
> I know that there were some changes about access restriction (since
> 2.6.8), but I haven't found anything to get a clue about the current
> status.
>
> So is it just impossible to send a packet to the DVD burner without root
> access? Do I have to use a wrapper that sets the effective user id to
> root and then runs growisofs?
>
>
> It's friday, so sorry for that stupid question, but a comment on that
> would be fine :)
>
> Regards,
> Martin
>
> --
> MyExcuse:
> Recursive traversal of loopback mount points
>
> Martin Zwickel <[email protected]>
> Research & Development
>
> TechnoTrend AG <http://www.technotrend.de>
>
>

--
Time is what you make of it

2005-03-18 15:38:50

by Martin Zwickel

[permalink] [raw]
Subject: Re: 2.6.11: CDROM_SEND_PACKET as non-root?

On Fri, 18 Mar 2005 17:25:35 +0200
ismail d?nmez <[email protected]> bubbled:

> growisofs works as a non-root user here.

which version?
I have:
growisofs 5.5, front-ending to mkisofs 2.01-unofficial-iconv
(i686-pc-linux-gnu)

Maybe it's that stupid debian distro my college is using...

--
MyExcuse:
Stubborn processes

Martin Zwickel <[email protected]>
Research & Development

TechnoTrend AG <http://www.technotrend.de>


Attachments:
(No filename) (189.00 B)