LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-18-2018, 01:10 AM   #1
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Plasma 5 K3b cdrecord user permissions issue


I haven't burned anything for a couple of months. I can only burn stuff as root right now. I ran into this issue prior to the latest Plasma 5 update. I haven't changed anything in my setup. Here are screenshots of the k3b error, debug output, and user permissions:
Attached Thumbnails
Click image for larger version

Name:	cdrecorderror.png
Views:	121
Size:	66.6 KB
ID:	27944   Click image for larger version

Name:	k3bdebug.jpg
Views:	142
Size:	236.2 KB
ID:	27945   Click image for larger version

Name:	k3b permissions.jpeg
Views:	149
Size:	55.6 KB
ID:	27946  
 
Old 06-18-2018, 01:42 AM   #2
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Original Poster
Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Also the change permissions button doesn't work.
 
Old 06-18-2018, 02:36 AM   #3
wael_h
Member
 
Registered: Mar 2009
Location: Phoenix, Arizona
Distribution: Slackware
Posts: 102

Rep: Reputation: 39
Hi RadicalDreamer;

Look in /usr/doc/k3b-18.04.2/PERMISSIONS.txt file. Note you many need to replace version number!

I am trying to remember what I did ... can not!

I wish I could be more helpful.

Wali

Last edited by wael_h; 06-18-2018 at 02:54 AM.
 
1 members found this post helpful.
Old 06-18-2018, 03:15 AM   #4
wael_h
Member
 
Registered: Mar 2009
Location: Phoenix, Arizona
Distribution: Slackware
Posts: 102

Rep: Reputation: 39
Dear RadicalDreamer;

I think this was what I did as root:

1) change owner and group as follows:

Quote:
root@lazyant:~# chown root:cdrom /usr/bin/cdrdao
root@lazyant:~# chown root:cdrom /usr/bin/cdrecord
root@lazyant:~# chown root:cdrom /dev/sr0
2) change permission as follows:

Quote:
root@lazyant:~# chmod 4711 /usr/bin/cdrdao
root@lazyant:~# chmod 4711 /usr/bin/cdrecord
root@lazyant:~# chmod 666 /dev/sr0
Please note /dev/sr0 is my dvd drive device -- I think yours is the same, you may have 2 drives!

Hope I am right.

Wali
 
1 members found this post helpful.
Old 06-18-2018, 08:53 AM   #5
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
I think you just need something like this.
Code:
# chown root:somegroup /usr/bin/cdrecord
# chmod 4710 /usr/bin/cdrecord
 
1 members found this post helpful.
Old 06-18-2018, 10:04 AM   #6
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Similar thing happen to me a few days ago. This is what I did based on what was shown in K3b's setup, permissions.

Code:
chown root:cdrom /usr/bin/cdrdao
chown root:cdrom /usr/bin/cdrecord
chown root:cdrom /usr/bin/growisofs

chmod 4710 /usr/bin/cdrdao
chmod 4710 /usr/bin/cdrecord
chmod 750 /usr/bin/growisofs
 
2 members found this post helpful.
Old 06-18-2018, 10:16 AM   #7
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Original Poster
Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Thank you all for the responses! I got it working! I was afraid of touching something that policykit or something else is supposed to modify. Sadly policykit works when a malware ad tries to get root access :/

Now if it would correctly burn 5 gb files onto a bd-r. Not quite sure what is wrong there. It successfully burns coasters with the "Fatal error during recording: Input/output error." Some actually get through the verification process?! I should probably use windows for larger files.

Last edited by RadicalDreamer; 06-18-2018 at 10:35 AM.
 
Old 10-21-2018, 03:24 PM   #8
phd21
LQ Newbie
 
Registered: Feb 2015
Location: Florida
Distribution: Linux Mint KDE 17.3 and 18.1
Posts: 8

Rep: Reputation: Disabled
K3b and Blu-Ray discs

Hi Everyone,

I never had any issues with K3b in Linux Mint 18.x based on Ubuntu 16.04 or earlier versions, but I have with Linux Mint 19.x based on Ubuntu 18.04 and the various KDE desktops using Ubuntu 18.04+ because of permission issues and adding the user to the cdrom group which is how I stumbled upon this post.

To record more than the 4.7gb / 8.5gb DVD sizes like for Blu-Ray discs (25gb, 50gb, 100gb), see link below.

Burn Blu-ray Disks in Ubuntu, Linux Using K3b - has information on installing a PPA for newer version of "cdrecord" for handling "Blu-Ray" discs.
https://www.debugpoint.com/2018/08/b...ntu-linux-k3b/

https://www.debugpoint.com/2018/08/b...ntu-linux-k3b/


Hope this helps ...

Last edited by phd21; 10-21-2018 at 04:23 PM. Reason: add more info
 
Old 10-21-2018, 04:15 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by phd21 View Post
Burn Blu-ray Disks in Ubuntu, Linux Using K3b - has information on installing a PPA for newer version of "cdrecord" for handling "Blu-Ray" discs.
https://www.debugpoint.com/2018/08/b...ntu-linux-k3b/

https://www.debugpoint.com/2018/08/b...ntu-linux-k3b/


Hope this helps ...
This doesn't help Slackware users since we don't use PPAs or deb packages. To solve the issue on Slackware, you just need to adjust permissions to the right files and add your user to the right group, as specified in the CHANGES_AND_HINTS.TXT file on your favorite Slackware mirror.
 
Old 10-21-2018, 04:40 PM   #10
phd21
LQ Newbie
 
Registered: Feb 2015
Location: Florida
Distribution: Linux Mint KDE 17.3 and 18.1
Posts: 8

Rep: Reputation: Disabled
K3b and DVD or Blu-Ray discs

Hi bassmadrigal,

I am not familiar with Slackware, but the web link I referenced was more for people using Blu-Ray player burners (writers) to use K3b to burn the larger Blu-Ray discs greater than the typical DVD discs of 4.7gb or 8.5 dual-layer discs.

From what I just read, Debian users and perhaps Slackware users can still use the packages from PPA's and or deb files, see link below.

Install Packages From An Ubuntu PPA On Debian Linux - LinuxConfig.org
https://linuxconfig.org/install-pack...n-debian-linux

And by installing the "Alien" package, people using Linux systems using the ".rpm" files versus ".deb" files can easily convert ".deb" file(s) into ".rpm" files.

Hope this helps ...

Last edited by phd21; 10-21-2018 at 04:43 PM. Reason: correction
 
Old 10-21-2018, 05:31 PM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by phd21 View Post
Hope this helps ...
Not at all unfortunately. Nothing of what you said applies to Slackware.
 
Old 10-21-2018, 05:40 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by phd21 View Post
And by installing the "Alien" package, people using Linux systems using the ".rpm" files versus ".deb" files can easily convert ".deb" file(s) into ".rpm" files.
Slackware doesn't use RPMs or DEBs. It has its own packaging system that uses compressed tarballs. While there exists tools that can convert DEBs and RPMs to Slackware packages, they typically aren't recommended.

But the issue you mention does not seem to be the same one here as Slackware already includes k3b and cdrecord and is capable of burning multi-layered bluray/dvd discs as is. The issue above stems from a permissions issue because Slackware does not grant regular users the ability to burn discs. If that is desired, it requires the administrator to allow it by setting certain permissions to cdrecord and cdrdao and adding the desired users to the correct group.
 
  


Reply



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
User Permissions Issue carlosinfl Ubuntu 1 05-23-2012 11:19 AM
How to give permissions for burning (k3b, cdrecord, ...) to all users ? frenchn00b Linux - General 3 11-12-2008 01:23 AM
k3b permissions issue reverend_hh Linux - Software 2 06-24-2008 06:27 AM
K3B issue-cdrecord changes rob2006 Linux - Software 3 06-12-2007 06:40 PM
Issue with user permissions bearalpha Slackware 1 10-31-2004 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:52 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