LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-19-2005, 02:17 PM   #1
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Rep: Reputation: 16
Burn DVDs for non-root users


Hi,

I've got the alpha version 15 of xcdroast and Red Hat Enterprise 3 WS kernel: . E2.4.21-27.0.1.ELsmp everything works fine if I run xcdroast as root, but if I try to burn a DVD as a normal user I don't have permissions. I can run xcdroast but the permissions problems start when I try to access the DVD burner itself. I've seen other posts that say this is a change in the newer kernels not in xcdroast, but I was wondering if someone knew of a workaround to get non-root users the ability to burn DVDs again. The odd thing is non-root users can burn CDs without a problem via the Nautilis CD burner. Thanks for any and all help.


-NifflerX
 
Old 01-19-2005, 02:30 PM   #2
shmonkey
Member
 
Registered: Nov 2004
Location: UK
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
You could try setting the SUID bit on the bin (executable) file that cdrecord-prodvd uses (sorry I am not that familiar with cdrecord-prodvd). This way it can run with root privileges. Nautilus can so by selecting propeties of the file.

regards

Shmonkey
 
Old 01-19-2005, 02:52 PM   #3
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Original Poster
Rep: Reputation: 16
Thanks for the reply. When I originally ran xcdroast as root and asked it to change to non-root mode I think this is what it did. Currently the permissions on the file that cdrecord.prodvd points to (it is a symbolic link) are as follows:

Code:
-rwsr-xr-x    1 root     root       372956 Aug 22 23:43 cdrecord-prodvd-2.01b31-i686-pc-linux-gnu
The other exectubles in the bin directory all have permissions 755, except for xcdrwrap which has the same permissions as cdrecord.prodvd. I think this means that the SUID bit is already set, although my understanding of SUID bits is far from complete, so if I'm reading this wrong please let me know. Thanks again for the reply and if anyone has any other thoughts or suggestions I'd appreciate all of them.

Just one other quick note, the specific error I'm getting from the xcdroast error message is that

"cdrecord.prodvd: Cannot allocate memory. Cannot get SCSI I/O buffer."

-NifflerX

Last edited by nifflerX; 01-19-2005 at 02:59 PM.
 
Old 01-19-2005, 11:20 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
might be a permission problem for /dev/sg or /dev/sg0 or whatever it is...

My Take,
The current issue about the kernel command filters is not your problem here as you are running an old kernel
but there is something to be said for running cdburner as root , mainly memory locking , because cd burning in kind of mem intense and has a possibility of buffer overrun..

rather than trying to fix the problem i would install "sudo" and then as user call "sudo xcdroast" (like from a menu) so regular users can have root permissions
 
Old 01-20-2005, 09:32 AM   #5
nifflerX
Member
 
Registered: Dec 2003
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94

Original Poster
Rep: Reputation: 16
Thank you so much for the reply. By editing the sudoers file (carefully) I was able to allow the users I want to be able to burn DVDs have that ability. Thank you again.


-NifflerX
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dvds fail to burn katalystic Linux - Newbie 1 11-28-2005 01:38 AM
Burn Multiple dvds at once aeruzcar Linux - Software 1 11-21-2005 01:32 AM
Unstable, can't burn dvds anymore yanik Debian 3 09-20-2005 01:33 PM
burn dvds eduac Linux - Software 6 06-23-2005 07:00 PM
what to use to burn DVDs in Linux? tradnbillies Linux - Newbie 1 03-23-2004 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration