Disable cdrecord and cdrdao suid root checks.
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Wed, 1 Mar 2023 10:58:11 +0000 (11:58 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Wed, 1 Mar 2023 10:58:11 +0000 (11:58 +0100)
Forwarded: not-needed
Last-Update: 2018-09-07

Gbp-Pq: Name 104_dont_require_suid_cdrecord_or_cdrdao.diff

src/k3bsystemproblemdialog.cpp

index 16393023d5cffa777ba00c3986460afe902cca19..de4612f765e78dbd0a2139b251e83e7689baaba3 100644 (file)
@@ -220,6 +220,7 @@ void K3b::SystemProblemDialog::checkSystem(QWidget* parent, NotificationLevel le
                                                    i18n("Install a more recent version of the cdrtools.") ) );
             }
 
+/*
 #ifdef Q_OS_LINUX
 
             //
@@ -255,6 +256,7 @@ void K3b::SystemProblemDialog::checkSystem(QWidget* parent, NotificationLevel le
             }
 #endif // CDRECORD_SUID_ROOT_CHECK
 #endif
+*/
         }
 
         if( !k3bcore->externalBinManager()->binNeedGroup( "cdrdao" ).isEmpty() ) {
@@ -271,6 +273,7 @@ void K3b::SystemProblemDialog::checkSystem(QWidget* parent, NotificationLevel le
                                                i18n("K3b uses cdrdao to actually write CDs."),
                                                i18n("Install the cdrdao package.") ) );
         }
+/*
         else {
 #ifdef Q_OS_LINUX
 #ifdef CDRECORD_SUID_ROOT_CHECK
@@ -294,6 +297,7 @@ void K3b::SystemProblemDialog::checkSystem(QWidget* parent, NotificationLevel le
                      " CD, and for growisofs with DVD and BD."),
                 i18n("Consider to install the libburn and cdrskin packages.")));
         }
+*/
     }