LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-10-2007, 05:25 AM   #1
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Rep: Reputation: 30
K3b permissions


I instald the 2007.1 and I like it a lot... but this new K3b witch comes with the distro doasn't have the k3b setup2 program witch updated the permissions on cdrecord and other burning command... and I got a warnning about not using these as root.... how can I update manually or set it up to use them as root?
 
Old 05-10-2007, 05:41 AM   #2
john-doe
LQ Newbie
 
Registered: Apr 2007
Distribution: OpenSuse 10.2
Posts: 4

Rep: Reputation: 0
I have the same problem. My k3b's "Setup k3b" menu item is missing, so I can't configure the permissions.
 
Old 05-10-2007, 05:43 AM   #3
miclem
Member
 
Registered: Jan 2005
Distribution: Mandriva 2009 Powerpack x64
Posts: 80

Rep: Reputation: 15
You could chown k3b I suppose. What I've usually done is to change the permissions of the programs needed (generally CDRecord (now Wodim I think), cdrdao, mkisofs, growisofs, dvd+rwtools) to user rather than root. Open a Terminal & log in as root using the su command, Return, followed by root password, then type chown user:user /usr/bin/[package]

This has generally had the desired effect of improving performance & allowing certain actions such as burning iso dvd's that were otherwise failing, although I don't know how advisable it actually is from a security point of view - I've never had any problems though.
 
Old 05-10-2007, 08:13 AM   #4
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Original Poster
Rep: Reputation: 30
Question

Quote:
Originally Posted by miclem
You could chown k3b I suppose. What I've usually done is to change the permissions of the programs needed (generally CDRecord (now Wodim I think), cdrdao, mkisofs, growisofs, dvd+rwtools) to user rather than root. Open a Terminal & log in as root using the su command, Return, followed by root password, then type chown user:user /usr/bin/[package]

This has generally had the desired effect of improving performance & allowing certain actions such as burning iso dvd's that were otherwise failing, although I don't know how advisable it actually is from a security point of view - I've never had any problems though.
THX for the quick reply....
If I understand it right this is the correct form of the command:
chown rootilatus /usr/bin/cdrecord
 
Old 05-11-2007, 11:24 AM   #5
miclem
Member
 
Registered: Jan 2005
Distribution: Mandriva 2009 Powerpack x64
Posts: 80

Rep: Reputation: 15
No, you log in as root first - open a terminal, type su, press return, type your root password (the password you use to open the Mandriva Control Centre or install software)& then press return again. The prompt'll then say something like[root @ localhost]#. Next type chown user:user /usr/bin/whatever it is you want to change, where user is your the name that you log in with normally.

This command is also very useful if you ever need to edit any configuration files that are in the root directory.

Hope that's a bit clearer. Don't worry about getting it wrong- the command line still confuses the life out of me & I've been using Linux for a good few years. In fact to my shame, chown is about the only command I really ever use!
 
Old 05-11-2007, 03:09 PM   #6
jkerr82508
Member
 
Registered: Dec 2006
Location: Fife, Scotland
Posts: 268

Rep: Reputation: 69
You don't need to change permissions. When the "warning" appears just click the box that you don't want to see it again, and close it. K3B will work just fine for your user.
 
Old 05-11-2007, 09:28 PM   #7
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by miclem
No, you log in as root first - open a terminal, type su, press return, type your root password (the password you use to open the Mandriva Control Centre or install software)& then press return again. The prompt'll then say something like[root @ localhost]#. Next type chown user:user /usr/bin/whatever it is you want to change, where user is your the name that you log in with normally.

This command is also very useful if you ever need to edit any configuration files that are in the root directory.

Hope that's a bit clearer. Don't worry about getting it wrong- the command line still confuses the life out of me & I've been using Linux for a good few years. In fact to my shame, chown is about the only command I really ever use!
THX for the clearings.... I just didn't understand the chown command now it's OK...
 
Old 05-11-2007, 09:30 PM   #8
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jkerr82508
You don't need to change permissions. When the "warning" appears just click the box that you don't want to see it again, and close it. K3B will work just fine for your user.
Yeah I know but If you run it as a normal user it may haw problems.... and it's a lot faster when burning DVD's whit root permissions...
 
Old 05-12-2007, 12:55 AM   #9
Red Barchetta
Member
 
Registered: Mar 2007
Distribution: Mandriva Free
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by pilatus666
Yeah I know but If you run it as a normal user it may haw problems.... and it's a lot faster when burning DVD's whit root permissions...
This is true...

What I really wish could be done myself, is allow any user to run k3b, but have it run with root permission, while at the same time, no need for the user to know the root password, AND no way to get the root password (especially in an easy way, like reading a shell script file, text file, exc.)
 
Old 05-12-2007, 11:39 AM   #10
miclem
Member
 
Registered: Jan 2005
Distribution: Mandriva 2009 Powerpack x64
Posts: 80

Rep: Reputation: 15
Quote:
Originally Posted by pilatus666
THX for the clearings.... I just didn't understand the chown command now it's OK...
S'alright. Chown stands for change owner by the way
 
Old 05-12-2007, 05:20 PM   #11
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Create a burner group (any name that makes sense to you will work). Edit your new burner group to make the user(s) you want to have access to burn disks member(s). The easiest way to do this is with Userdrake (System > Configuration > Other > User Administration in the menu system). Finally change the group ownership of the associated software to burner:
Code:
chgrp burner filename
Allow group members to execute the file:
Code:
usermod g +x filename
Any file named in the K3b warning is a good candidate (or the base file to which it links e.g.: /usr/bin/cdrecord links to /etc/alternatives/cdrecord which links to /usr/bin/wodim), so /usr/bin/wodim is a good candidate. /usr/bin/cdrdao, and /usr/bin/growisofs may be other good candidates. The advantage here is that you can choose which users in a multi-user environment can have access to burning a disk to CD or DVD.

HTH,
 
Old 05-14-2007, 01:25 AM   #12
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by ernie
Create a burner group (any name that makes sense to you will work). Edit your new burner group to make the user(s) you want to have access to burn disks member(s). The easiest way to do this is with Userdrake (System > Configuration > Other > User Administration in the menu system). Finally change the group ownership of the associated software to burner:
Code:
chgrp burner filename
Allow group members to execute the file:
Code:
usermod g +x filename
Any file named in the K3b warning is a good candidate (or the base file to which it links e.g.: /usr/bin/cdrecord links to /etc/alternatives/cdrecord which links to /usr/bin/wodim), so /usr/bin/wodim is a good candidate. /usr/bin/cdrdao, and /usr/bin/growisofs may be other good candidates. The advantage here is that you can choose which users in a multi-user environment can have access to burning a disk to CD or DVD.

HTH,
Until here everything seemed ok:
[root@localhost pilatus]# chgrp iras /usr/bin/cdrecord
[root@localhost pilatus]# chgrp iras /usr/bin/wodim
[root@localhost pilatus]# chgrp iras /usr/bin/cdrdao
[root@localhost pilatus]# chgrp iras /usr/bin/dvd+rw-format
[root@localhost pilatus]# chgrp iras /usr/bin/growisofs

but the next step is not working:
[root@localhost pilatus]# usermod g +x /usr/bin/cdrecord
usermod: user /usr/bin/cdrecord does not exist

then I tryed the command this way to:
[root@localhost pilatus]# usermod g pilatus +x /usr/bin/cdrecord
usermod: user /usr/bin/cdrecord does not exist
[root@localhost pilatus]# usermod g pilatus +x /usr/bin/wodin
usermod: user /usr/bin/wodin does not exist
[root@localhost pilatus]# usermod g iras +x /usr/bin/wodin
usermod: user /usr/bin/wodin does not exist
[root@localhost pilatus]#

but neither way works... what did I wrong or what did I miss.....
edit: iras=the burning group that I created, pilatus=the user witch I use

Last edited by pilatus666; 05-14-2007 at 01:27 AM.
 
Old 05-14-2007, 01:57 AM   #13
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
I believe it is wodim not wodin

My point here is that the cdrecord warning, although relevant, is kind of a bit wrong since wodim has become the default. But the chown suggestions are correct

(and so new default is geniso or whatever it is called instead of mkisofs)
 
Old 05-14-2007, 02:24 AM   #14
pilatus666
Member
 
Registered: Mar 2006
Location: cyprus
Distribution: Mandriva 2009.0;
Posts: 263

Original Poster
Rep: Reputation: 30
Still not working:
[root@localhost pilatus]# usermod g iras pilatus +x /usr/bin/wodim
usermod: user /usr/bin/wodim does not exist
[root@localhost pilatus]# usermod g +x /usr/bin/wodim pilatus
usermod: no flags given
[root@localhost pilatus]# usermod g iras +x /usr/bin/wodim pilatus
usermod: no flags given

and it's wreally frustrating cauze now the max dvd writing speed is 1-2x and it takes more than a half an hour to burn a dvd.....
 
Old 05-14-2007, 02:28 AM   #15
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
install the locate package
then
locate wodim
to find where wodim hides
(or use konqueror and find function)

or type as root
which wodim
 
  


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
K3B Permissions Error carlosinfl Linux - Software 2 02-12-2006 03:48 PM
k3b/cdwriter permissions problem ai.user Fedora 1 09-03-2005 06:52 AM
K3b and DVD burnig permissions Harp00 Slackware 4 12-31-2004 04:51 PM
k3b permissions? smyle Linux - Software 4 12-15-2004 04:56 PM
K3B won't let users burn -- even after changing permissions! theMonkeY Linux - Software 8 08-23-2004 06:39 AM

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

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