CD-rw drive permissions issue.
In gnome Baker i wan't to burn an audio cd, but when it comes time, after converting audio, it fails, output is this.
Quote:
|
A few ideas/suggestions:
1 - Could you not use SUDO, or would you prefer not to? 1.5 - create a GROUP called CDRECORD, add yourself to it, and change /bin/cdrecord to be of that group. 2 - Create a symlink in /usr/bin pointing to /bin/cdrecord (or wherever it is) and if necessary CHMOD/CHOWN /bin/cdrecord as necessary for your USER/GROUP to execute it. |
Ummm, this is a GUI program, i don't know how to do what you recommended, but what i am seeking to do is fix the system so that i can burn cd's on my normal account... so further explanation would be great. :)
|
A GUI is just a pretty front-end, summoning a (bunch of) command-line stuff or a not-so-pretty shell-program..
Do you start the GUI with like a desktop icon, or an item in your main menu? If so, try right-clicking the menu/desktop item, and viewing its properties. You ought to be able to see atleast one of two things: (a) the command being executed, and/or (b) the PATH to the executable program. if (a) is true, try putting the word 'sudo' in front of the existing command, save, and then try it out. with case (b) navigate the path you see to the location of the actual program, and then consider the steps in my first post, to allow your USER account to execute the application. :) |
This is a case a, i change the command of the launcher to "sudo gnomebaker", and the launcher does not seem to work, I type sudo gnomebaker, in command and gnomebaker launches fine, but the files on my system are not visible, only the folder "root".... so i think this will be a user problem, the question being where is the file to modify, and what exactly do i modify?
|
I am still in this situation, I have figured out how to specify location by manually entering the location and file, rather than browsing for the file, but I would like to get my burning programs (all of them have issues) to be able to burn cd's and dvds, what do i need to do, do i need to change drive access setting (reading from cd's is not a problem), or is it in the programs, or what could the problem be?, I am a relative newbie so details are appreciated greatly.
|
Did you try locating the binary 'cdrecord' and CHMODding it to executable by users? To locate the file quickly, type 'locate cdrecord'.
Another option, would be to maybe move the binary program 'cdrecord' out of its location in /bin or wherever, and put it into /usr/bin or into one of your own folders in your /home/mitchellman area, and CHOMD it to be USER=mitchelman (or whoever your user is) and GROUP=users. If this is a problem because the cd-GUI's cannot seem to locate the program, put a symlink into place of where you removed the cdrecord program FROM, and point it to the new location. The command 'gnomebaker' that you see in properties of the launcher, is to run the GUI. The GUI in turn, calls on the program 'cdrecord' to actually do the burning. So the permissions of the program 'gnomebaker' is not the problem; you can run that just fine. It is the 'cdrecord' program that is causing the problem, because it is owned by ROOT,ROOT and located in /bin or something.:) |
I don't recognize sg0 although it exists in my Feisty /dev. The cd-rw in all the distros I can remember is hdc with mount points of /dev/cdrw and perhaps /dev/dvdrw. I have no problem burning in Fiesty.
|
@ Fragos
Oddly enough, I cannot say for sure of I've seen 'sg0' before, but when I run cdrecord as non-root with dev-/dev/hdb, I get 'Cannot open device /dev/pg0' but when I su to root, it successfully finds and uses /dev/hdb. Not sure where it gets the sg0's and pg0's from, but it's only when running these CD tools as user. I can't even imagine a device with initials p.g. or s.g. |
Hello, i think i understand what the idea is, but strangely enough, i don't think i have ever had to "chmod" anything before, so i do not know exactly what to do. mitchellj@mitchellj-desktop:~$
Quote:
|
Check the manual page for CHMOD (change mode). CHOWN (change owner), and CHGRP (change group) for details on these commands.
I would think the file at /usr/bin/cdrecord is the binary program we are looking for. Not sure what all those other ones are, in the /etc folder. If so, then what we want here to make it totally executable by all would be "chmod a+x /usr/bin/cdrecord" though it should already be executable, and then "chown <yourname>:users usr/bin/cdrecord" where <yourname> is your user name on your system, to make it owned by you, and of the group USERS, which you should be in.. |
Ok, chmod ran well, but not chown,
Quote:
|
OK, you arent supposed to have the < and > in there in the actual command--- that's just to show you that you need to put something there.
Try again without the <brackets> :) |
Ok, hey, i tried to burn a cd from .iso, it came out with an error after burning,.... (it was ubuntu.iso) i booted from the disk and all appeared fine, i did the cd integrity test and it worked too,... so what's up with that? -thanks for all the help :)
|
What was the nature of the error it gave after the burning??
To verify that it did infact burn 100% correct, check the md5sum of the .ISO file, and compare it to the md5sum of your newly burned disk. Sometimes, the disk will 'work' for you, but if you copy it for someone else for example, it won't boot on their computer. If the md5sums match, it's all good! :) |
All times are GMT -5. The time now is 06:44 PM. |