8 January 2005

First Experience of Burning a DVD

Posted under: at 01:46

Yay! I burned a DVD for the first time. At last I can make my one month old NEC ND-3500AG to good use, creating a coaster in the process due to bad media (I hope). It took me about 8 minutes to burn 3.2 GB of data to an el-cheapo 4X DVD+R disc. All went well except for the bad media and some problem with K3B and growisofs.

Because of a change in Linux 2.6.9, a normal user can no longer burn a CD. At least using the current userspace tools. So, whenever I need to burn a CD, I used to run ‘sudo k3b’. But when invoked that way, K3B wouldn’t be able to detect growisofs. When I ran k3b using normal user, it could detect growisofs successfully but burning would fail. After several minutes fiddling and googling, it turned out that growisofs refuses to run under sudo. From growisofs man page:

If executed under sudo(8) growisofs refuses to start. This is done for the following reason. Naturally growisofs has to access the data set to be recorded to DVD media, either indirectly by letting mkisofs generate ISO9660 layout on-the-fly or directly if a pre-mastered image is to be recorded. Being executed under sudo(8), growisofs effectively grants sudoers read access to any file in the file system.

After knowing that, running K3B after a ‘su’ worked flawlessly.

5 Responses

Trackback: Use this URI to trackback this entry. Use your web browser's function to copy it to your blog posting.

Comment RSS: You can track conversation in this page by using this page's Comments RSS (XML)

Gravatar: You can have a picture next to each of your comments by getting a Gravatar.

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Warning: Comments carrying links to questionable sites will be removed!