 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

11th December 2007, 08:59 PM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 26

|
|
|
Fedora 8 , K3b, and no writer
Installed Fedora 8 on my box then yum updated it.
The problem I am having is that non-root users cannot use the DVD burner with K3B.
I can "su -" into root and use K3B. K3B sees the writer as root.
It appears that there are permission issues on the DVD writer which I believe is /dev/sr0.
Which means it is a "udev" issue.
Has anyone see or knows of a fix to the /etc/udev/rules.d/* that will fix the issue with non-root user being about to use their cd/dvd writers( or device /dev/scd0).
|

11th December 2007, 09:27 PM
|
|
Registered User
|
|
Join Date: Jul 2006
Posts: 293

|
|
|
add the group "disk" to your user (use the user manager)..
if you do a ls -l /dev/scd0 you will see the group is disk, with owner root and permissions that give the group disk and owner access to the device, so adding your user to the group disk will ensure you can use it.
(thats what I had to do)..
PS dont forget to log out and back in..
|

11th December 2007, 11:46 PM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 26

|
|
|
ls -l /dev/sr0
brw-r----- 1 root disk 11, 0 2007-12-09 13:00 /dev/sr0
My user is apart of the disk group.
I believe the problem is that the disk group only has Read permissions and does not have any Write permissions.
|

12th December 2007, 12:19 AM
|
|
Registered User
|
|
Join Date: Jul 2006
Posts: 293

|
|
|
do a
chmod g+w /dev/sr0
mine already had group write access so the chmod to add write permissions should do the trick..
|

12th December 2007, 06:47 PM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 26

|
|
I think I may have found a solution. I will see if it works tonight.
Here is the current permissions on /dev/sr0
Code:
$ ll /dev/sr0
brw-r----- 1 root disk 11, 0 2007-12-09 13:00 /dev/sr0
#Now add user to group "disk", username is your login name
$ usermod -G username, disk username
#Backup orginal
$ cp /etc/udev/rules.d/50-udev-default.rules /root/50-udev-default.rules.orginal
#Edit the file
$ emacs /etc/udev/rules.d/50-udev-default.rules
#Change this line:
SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n"
KERNEL=="sg[0-9]*", GROUP="disk", MODE="0640"
#To this:
SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n", MODE="0664"
KERNEL=="sg[0-9]*", GROUP="disk", MODE="0664"
#Then test by restart udev as root
$ start_udev
$ ll /dev/sr0
brw-rw-r-- 1 root disk 11, 0 2007-12-09 13:00 /dev/sr0
I have verified this fixes my issue.
Last edited by toolshed7777; 12th December 2007 at 11:43 PM.
|

13th December 2007, 03:15 PM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300

|
|
|
Yeah well you can now start k3b, but when you get the error log insisting that you set "ulimit unlimited" what will the user do ?
|

13th December 2007, 03:21 PM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 26

|
|
|
I did not have that issue. My burning worked very well.
I did not have any ulimit issues, However i will check messages tonight or run k3b through terminal.
If it wants ulimit unlimited then it will get it.
I have been using linux for about 10 years now, my one complain has always been hardware.
I dont want to have to work to get my hardware working. It should just work.
--sbradley
|

20th December 2007, 02:01 AM
|
|
Registered User
|
|
Join Date: May 2006
Posts: 2

|
|
Quote:
|
Originally Posted by stevea
Yeah well you can now start k3b, but when you get the error log insisting that you set "ulimit unlimited" what will the user do ?
|
Did have the permission problem as user and the ulimited thing when trying to burn with root.
I applied the fix for udev given by toolshed7777 and now everything is working fine again
Thanks
PS: As said such things should not happen, I also had to modify my udev rules to get sound working again after some Fedora updates
|

20th December 2007, 02:17 PM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 26

|
|
|
I am glad that fix your issue.
What was your updates to fix the sound BlackTiger? I am having a problem were sound not work now.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 12:54 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|