LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2006, 05:43 AM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Rep: Reputation: 31
cd Burning: operation not permitted


Hi!
I'm trying to burn some windows datas from an external HD. I changed the rights for all folders into 755 and changed the owner, so that my user is the data's owner. When I try to burn some datas from the external HD using K3b, I get an error message. The output looks like this:
Quote:
System
-----------------------
K3b Version: 0.12.14

KDE Version: 3.5.1-2.3 Red Hat
QT Version: 3.3.5
Kernel: 2.6.17-1.2157_FC5
Devices
-----------------------
PLEXTOR DVDR PX-740A 1.01 (/dev/hdd, ) at [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-R; DVD-RW; DVD-R DL; DVD+R; DVD+RW; DVD+R DL] [DVD-ROM; DVD-R Sequential; DVD-R Dual Layer Sequential; DVD-R Dual Layer Jump; DVD-RW Restricted Overwrite; DVD-RW Sequential; DVD+RW; DVD+R; DVD+R Double Layer; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96R; RAW/R16; RAW/R96R; Restricted Overwrite; Layer Jump]

JLMS XJ-HD166S DS19 (/dev/hdc, ) at [CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM] [None]
K3b
-----------------------
Size of filesystem calculated: 240934

Used versions
-----------------------
cdrecord: 2.1.1a03

cdrecord
-----------------------
/usr/bin/cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
/usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
/usr/bin/cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.85-RH '@(#)scsi-linux-sg.c 1.85 05/05/16 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
/usr/bin/cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
Cdrecord-Clone 2.01.01a03-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2005 Jörg Schilling
NOTE: This version contains the OSS DVD extensions for cdrtools and thus may
have bugs related to DVD issues that are not present in the original
cdrtools. Please send bug reports or support requests to
http://bugzilla.redhat.com/bugzilla The original cdrtools author should
not be bothered with problems in this version.
TOC Type: 3 = CD-ROM XA mode 2
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 3
Capabilities :
Vendor_info : 'PLEXTOR '
Identifikation : 'DVDR PX-740A '
Revision : '1.01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/hdd speed=48 -tao driveropts=burnfree -eject -multi -xa -tsize=240934s -

mkisofs
-----------------------
240934
INFO: UTF-8 character encoding detected by locale settings.
Assuming UTF-8 encoded filenames on source filesystem,
use -input-charset to override.
Using WHATS_NEW_IN_ARCGIS_DESK000.PDF;1 for Documentation/Whats_New_In_ArcGIS_Desktop_91.pdf (Whats_New_In_ArcGIS_Desktop_90.pdf)
/usr/bin/mkisofs: Connection reset by peer. cannot fwrite 2048*1

mkisofs command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -volid K3b data project -volset -appid K3B THE CD KREATOR (C) 1998-2005 SEBASTIAN TRUEG AND THE K3B TEAM -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-christophe/k3b5bf83a.tmp -rational-rock -hide-list /tmp/kde-christophe/k3bHIFqFa.tmp -joliet -hide-joliet-list /tmp/kde-christophe/k3bV9lJdb.tmp -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-christophe/k3bWCCwJa.tmp
I've just tried to make an iso image from another file located on my HD, and I also got an error message:
Quote:
System
-----------------------
K3b Version: 0.12.14

KDE Version: 3.5.1-2.3 Red Hat
QT Version: 3.3.5
Kernel: 2.6.17-1.2157_FC5
Devices
-----------------------
PLEXTOR DVDR PX-740A 1.01 (/dev/hdd, ) at [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-R; DVD-RW; DVD-R DL; DVD+R; DVD+RW; DVD+R DL] [DVD-ROM; DVD-R Sequential; DVD-R Dual Layer Sequential; DVD-R Dual Layer Jump; DVD-RW Restricted Overwrite; DVD-RW Sequential; DVD+RW; DVD+R; DVD+R Double Layer; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96R; RAW/R16; RAW/R96R; Restricted Overwrite; Layer Jump]

JLMS XJ-HD166S DS19 (/dev/hdc, ) at [CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM] [None]
Used versions
-----------------------
cdrecord: 2.1.1a03

cdrecord
-----------------------
/usr/bin/cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
/usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
/usr/bin/cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.85-RH '@(#)scsi-linux-sg.c 1.85 05/05/16 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
/usr/bin/cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
Cdrecord-Clone 2.01.01a03-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2005 Jörg Schilling
NOTE: This version contains the OSS DVD extensions for cdrtools and thus may
have bugs related to DVD issues that are not present in the original
cdrtools. Please send bug reports or support requests to
http://bugzilla.redhat.com/bugzilla The original cdrtools author should
not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 3
Capabilities :
Vendor_info : 'PLEXTOR '
Identifikation : 'DVDR PX-740A '
Revision : '1.01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/hdd speed=12 -dao driveropts=burnfree -eject -data /home/christophe/download/GENTOO/install-x86-minimal-2006.0.iso
I guess this occures since I made an upgrade from fedora 4 to fedora 5. Before it worked fine.
I don't know how to get things to work again.
Thanks for any help.

Last edited by xpucto; 07-26-2006 at 05:47 AM.
 
Old 07-26-2006, 06:20 AM   #2
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
burning only works with root.
What permissions should I change in oder to have it work with normal user?
 
Old 07-26-2006, 08:20 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
I had the same problem 10 days ago but I can't remember what I did.

I think its this:

-rwsr-sr-x 1 root cdrom 565104 2006-02-19 23:18 /usr/bin/cdrdao
-rwxr-xr-x 1 root cdrom 133 2006-01-07 19:43 /usr/bin/cdrecord
-rwsr-sr-x 1 root cdrom 323540 2006-01-07 19:44 /usr/bin/cdrecord.mmap
-rwsr-sr-x 1 root cdrom 323540 2006-01-07 19:44 /usr/bin/cdrecord.shm

and the user is group of cdrom
 
Old 07-26-2006, 08:30 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
In order to write cds/dvds one needs to have sufficient permissions on the files you can see when you open k3b's settings (the one that deals with permissions). You can either run k3b as root, or set the permissions so you run it beloning to some group, like "burners", and make sure "burners" group is the owner of the needed tools and device files.
 
Old 07-26-2006, 08:40 AM   #5
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by nx5000
I had the same problem 10 days ago but I can't remember what I did.

I think its this:

-rwsr-sr-x 1 root cdrom 565104 2006-02-19 23:18 /usr/bin/cdrdao
-rwxr-xr-x 1 root cdrom 133 2006-01-07 19:43 /usr/bin/cdrecord
-rwsr-sr-x 1 root cdrom 323540 2006-01-07 19:44 /usr/bin/cdrecord.mmap
-rwsr-sr-x 1 root cdrom 323540 2006-01-07 19:44 /usr/bin/cdrecord.shm

and the user is group of cdrom
cdrecord.mmap and cdrecord.shm don't exist in my system
I don't either have any cdrom as user or group. I created one and changed cdrdao and cdrecord but it doesn't help.
Quote:
-rwxr-xr-x 1 root cdrom 374124 Feb 15 10:10 /usr/bin/cdrecord
-rwsr-sr-x 1 root cdrom 605468 Mar 9 14:34 /usr/bin/cdrdao
and my user belongs to cdrom group

Last edited by xpucto; 07-26-2006 at 09:00 AM.
 
Old 07-26-2006, 08:42 AM   #6
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by b0uncer
In order to write cds/dvds one needs to have sufficient permissions on the files you can see when you open k3b's settings (the one that deals with permissions). You can either run k3b as root, or set the permissions so you run it beloning to some group, like "burners", and make sure "burners" group is the owner of the needed tools and device files.
I couldn't see any permissions issue in k3b's settings.
 
Old 07-26-2006, 09:48 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
If cdrecord.shm and cdrecord.mmap don't exist then you have to set
cdrecord to suid root.
chmod +s /usr/bin/cdrecord

Can you try and tell me?
 
Old 07-27-2006, 02:24 AM   #8
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by nx5000
If cdrecord.shm and cdrecord.mmap don't exist then you have to set
cdrecord to suid root.
chmod +s /usr/bin/cdrecord

Can you try and tell me?
still have an error message. Looks a bit different though:
Quote:
System
-----------------------
K3b Version: 0.12.14

KDE Version: 3.5.1-2.3 Red Hat
QT Version: 3.3.5
Kernel: 2.6.17-1.2157_FC5
Devices
-----------------------
PLEXTOR DVDR PX-740A 1.01 (/dev/hdd, ) at [CD-R; CD-RW; CD-ROM; DVD-ROM; DVD-R; DVD-RW; DVD-R DL; DVD+R; DVD+RW; DVD+R DL] [DVD-ROM; DVD-R Sequential; DVD-R Dual Layer Sequential; DVD-R Dual Layer Jump; DVD-RW Restricted Overwrite; DVD-RW Sequential; DVD+RW; DVD+R; DVD+R Double Layer; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96R; RAW/R16; RAW/R96R; Restricted Overwrite; Layer Jump]

JLMS XJ-HD166S DS19 (/dev/hdc, ) at [CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM] [None]
Used versions
-----------------------
cdrecord: 2.1.1a03

cdrecord
-----------------------
/usr/bin/cdrecord: Resource temporarily unavailable. Cannot get mmap for 4198400 Bytes on /dev/zero.
Cdrecord-Clone 2.01.01a03-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2005 Jörg Schilling
NOTE: This version contains the OSS DVD extensions for cdrtools and thus may
have bugs related to DVD issues that are not present in the original
cdrtools. Please send bug reports or support requests to
http://bugzilla.redhat.com/bugzilla The original cdrtools author should
not be bothered with problems in this version.
TOC Type: 1 = CD-ROM

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/hdd speed=48 -dao driveropts=burnfree -eject -data /home/christophe/download/Ubuntu/ubuntu-6.06-server-i386.iso
 
Old 07-28-2006, 01:26 AM   #9
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
should I reinstall K3b ?!
 
Old 07-28-2006, 01:41 AM   #10
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
strangely it works fine with DVDs! I only have the problem with CDs! Any clue?
 
Old 08-01-2006, 07:34 AM   #11
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Ah my memory came back

I know what I did:

Install resmgr which is used by k3b.
Then uncomment in /etc/resmgr.conf the line:

Code:
allow desktop           tty=/dev/tty[1-9]* || tty=:0
then /etc/init.d/resmgr restart

Works for me.
 
Old 08-03-2006, 04:13 AM   #12
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by nx5000
Ah my memory came back

I know what I did:

Install resmgr which is used by k3b.
Then uncomment in /etc/resmgr.conf the line:

Code:
allow desktop           tty=/dev/tty[1-9]* || tty=:0
then /etc/init.d/resmgr restart

Works for me.
Glad you're memory got back! I see that I'm not the only one having a hard time trying to make a documentation everytime I learn something new.

I try to install resmgr but I got those error messages:
Quote:
$ sudo make
cc -Wall -g -o .objs/main.o -c main.c
In file included from resmgrd.h:14,
from main.c:22:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/session.o -c session.c
In file included from resmgrd.h:14,
from session.c:11:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/class.o -c class.c
In file included from resmgrd.h:14,
from class.c:14:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/acl.o -c acl.c
In file included from resmgrd.h:14,
from acl.c:7:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/config.o -c config.c
In file included from resmgrd.h:14,
from config.c:10:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/svc.o -c svc.c
In file included from resmgrd.h:14,
from svc.c:7:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/family.o -c family.c
In file included from resmgrd.h:14,
from family.c:8:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/file.o -c file.c
In file included from resmgrd.h:14,
from file.c:10:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/scsi.o -c scsi.c
In file included from resmgrd.h:14,
from scsi.c:17:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/usb.o -c usb.c
In file included from resmgrd.h:14,
from usb.c:19:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/paride.o -c paride.c
In file included from resmgrd.h:14,
from paride.c:15:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -o .objs/utils.o -c utils.c
In file included from utils.c:22:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -fPIC -o .lobjs/conn.o -c conn.c
In file included from resmgrd.h:14,
from conn.c:7:
utils.h:11: warning: built-in function log declared as non-function
utils.h:13: warning: built-in function clog declared as non-function
cc -Wall -g -fPIC -o .lobjs/client.o -c client.c
cc -Wall -g -fPIC -o .lobjs/glob.o -c glob.c
cc -shared -Wl,-soname,libresmgr.so.1.0 -o libresmgr.so.1.0 .lobjs/conn.o .lobjs/client.o .lobjs/glob.o
ln -sf libresmgr.so.1.0 libresmgr.so
cc -o resmgrd .objs/main.o .objs/session.o .objs/class.o .objs/acl.o .objs/config.o .objs/svc.o .objs/family.o .objs/file.o .objs/scsi.o .objs/usb.o .objs/paride.o .objs/utils.o -L. -lresmgr
cc -Wall -g -o .objs/resmgr.o -c resmgr.c
cc -o resmgr .objs/resmgr.o -L. -lresmgr
cc -Wall -g -fPIC -o .lobjs/pam_resmgr.o -c pam_resmgr.c
pam_resmgr.c:13:34: error: security/pam_modules.h: No such file or directory
pam_resmgr.c:18: error: expected ) before * token
pam_resmgr.c:67: error: expected ) before * token
make: *** [.lobjs/pam_resmgr.o] Error 1
any idea what gone wrong? I use FC5.
 
Old 08-03-2006, 10:09 AM   #13
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
There is no prebuilt binary package?
Really try to find a binary package, no need to compile everything!!
There is no "./configure" in the directory?

Btw, meanwhile I updated my k3b and now k3bsetup works, try it. There is a group cdburner, should do what you want and no need for external software.
 
Old 08-09-2006, 03:20 AM   #14
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by nx5000
Btw, meanwhile I updated my k3b and now k3bsetup works, try it. There is a group cdburner, should do what you want and no need for external software.
I've just updated k3b but I do not seen anyting related width users'permissions.
In the menus, I have settings, then options,but nothin with permissions.
 
Old 08-09-2006, 10:41 AM   #15
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
and if you try from the command line:
k3bsetup
?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Operation not permitted jakkals Linux - General 3 09-26-2005 08:30 PM
su - operation not permitted jrtayloriv Linux - Newbie 2 06-09-2005 10:27 PM
su - mysql operation not permitted mjl3434 Slackware 1 02-04-2005 02:52 AM
operation not permitted jamaso Slackware 2 05-08-2004 06:55 AM
Operation not permitted FrozenShadow23 Linux - Newbie 6 10-05-2003 06:13 PM


All times are GMT -5. The time now is 11:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration