On Fri, 14 Feb 2003 15:21:41 +0100
Warly <[EMAIL PROTECTED]> wrote:

> Eric Fernandez <[EMAIL PROTECTED]> writes:
> 
> > It seems that Mandrake is pushing k3b as the main CD writing
> > software(or do I mistake here ?)
> > However, I do not like very much the mess that k3b puts in mounting
> > points : it creates in fstab new entries and new mounting points
> > like/cdrecorder and /cdreader not in /mnt/ but in the root
> > filesystem. Is there a way to make it cleaner for the system ?

these are just defaults, you can change them

also, I've unticked all checkboxes that offered to change system
settings. Only changed group to mdk's default cdwriter

> > Alternatively, there is arson, which has a very nice gui. The only
> > thing zhich is missing (or that I did not find) is the absence of
> > "DAO" mode for writing.
> 
> yes it should not create those file in root dir, laurent could you
> look at it?

I did some patching but haven't got around to actually test. Here's my
patch so far, in case someone is interested

- Mark

--- k3b-0.8/src/k3bsetup/k3bsetup.cpp.orig      2003-01-20 22:52:37.000000000 +0100
+++ k3b-0.8/src/k3bsetup/k3bsetup.cpp   2003-02-12 21:47:24.000000000 +0100
@@ -75,7 +75,7 @@
 
   if( m_config->hasGroup( "Permissions" ) ) {
     m_config->setGroup( "Permissions" );
-    m_cdwritingGroup = m_config->readEntry( "cdwriting_group", "cdrecording" );
+    m_cdwritingGroup = m_config->readEntry( "cdwriting_group", "cdwriter" );
     m_userList = m_config->readListEntry( "users" );
   }
 }
@@ -150,8 +150,8 @@
 uint K3bSetup::createCdWritingGroup()
 {
   if( m_cdwritingGroup.isEmpty() ) {
-    kdDebug() << "(K3bSetup) setting cd writing group to 'cdrecording'." << endl;
-    m_cdwritingGroup = "cdrecording";
+    kdDebug() << "(K3bSetup) setting cd writing group to 'cdwriter'." << endl;
+    m_cdwritingGroup = "cdwriter";
   }
 
   // search group and create new if not found
--- k3b-0.8/src/k3bsetup/k3bsetupwizardtabs.cpp.orig    2003-01-01 16:53:29.000000000 
+0100
+++ k3b-0.8/src/k3bsetup/k3bsetupwizardtabs.cpp 2003-02-13 11:08:20.000000000 +0100
@@ -246,9 +246,9 @@
       item->setText( 3, dev->mountPoint() );
     else {
       if( i == 0 )
-       item->setText( 3, "/cdrom" );
+       item->setText( 3, "/mnt/cdrom" );
       else
-       item->setText( 3, QString("/cdrom%1").arg(i) );
+       item->setText( 3, QString("/mnt/cdrom%1").arg(i) );
 
       dev->setMountPoint( item->text(3) );
     }
@@ -269,9 +269,9 @@
       item->setText( 3, dev->mountPoint() );
     else {
       if( i == 0 )
-       item->setText( 3, "/cdrecorder" );
+       item->setText( 3, "/mnt/cdrecorder" );
       else
-       item->setText( 3, QString("/cdrecorder%1").arg(i) );
+       item->setText( 3, QString("/mnt/cdrecorder%1").arg(i) );
 
       dev->setMountPoint( item->text(3) );
     }
@@ -451,7 +451,7 @@
   m_groupWriterGroup->layout()->setMargin( KDialog::marginHint() );
 
   m_editPermissionsGroup = new QLineEdit( m_groupWriterGroup, "LineEdit1" );
-  m_editPermissionsGroup->setText( "cdrecording" );
+  m_editPermissionsGroup->setText( "cdwriter" );
 
 
   mainGrid->addMultiCellWidget( m_labelPermissions1, 0, 0, 0, 1 );
@@ -476,7 +476,7 @@
   if( !setup()->cdWritingGroup().isEmpty())
     m_editPermissionsGroup->setText( setup()->cdWritingGroup() );
   else
-    m_editPermissionsGroup->setText( "cdrecording" );
+    m_editPermissionsGroup->setText( "cdwriter" );
 
   m_boxUsers->clear();
   for ( QStringList::ConstIterator it = setup()->users().begin(); it != 
setup()->users().end(); ++it ) {
@@ -558,12 +558,12 @@
                      "priority. That is why they need to be run as root.</td>\n"
                      "</tr>\n"
                      "<tr>\n"
-                     " <td>add cdrecord, mkisofs, and cdrdao to group 
'cdrecording'</td>\n"
+                     " <td>add cdrecord, mkisofs, and cdrdao to group 
+'cdwriter'</td>\n"
                      " <td>not everybody should be allowed to execute these programs 
since running a program as suid root "
                      "is always a security risk.</td>\n"
                      "</tr>\n"
                      "<tr>\n"
-                     " <td>add the selected users to group 'cdrecording'</td>\n"
+                     " <td>add the selected users to group 'cdwriter'</td>\n"
                      " <td>these users will be able to run cdrecord, mkisofs, and 
cdrdao</td>\n"
                      "</tr>\n"
                      "<tr>\n"
@@ -576,7 +576,7 @@
                      "for ATAPI devices.</td>\n"
                      "</tr>\n"
                      "<tr>\n"
-                     " <td>add all detected devices to group 'cdrecording'</td>\n"
+                     " <td>add all detected devices to group 'cdwriter'</td>\n"
                      " <td>since write access to devices is always a security risk 
(although one cannot do much harm with writing "
                      "to a CD device), only the selected users will be able to access 
the drives</td>\n"
                      "</tr>\n"

Reply via email to