Public bug reported:

Hi everyone,

I'm running into some permission issues with abcde on Ubuntu when
ripping CDs. I can get it to work, but only by running it with sudo. The
problem is that when I run abcde as root, the output files are created
with root ownership, and I’m unable to move or modify them as my regular
user.

Here’s some relevant output:

will@prometheus:~$ ls -l /dev/sr*
brw-rw----+ 1 root cdrom 11, 0 Mar 31 08:43 /dev/sr0

I'm a member of the cdrom group (confirmed via the groups command). I've
also tried adding an /etc/fstab entry to set the proper mount options
for the CD-ROM (e.g., noauto,owner,ro,users), but it seems that for
abcde to read the CD, I still have to run it with sudo. I don't think I
should have to mount it at all considering I'm only reading.

I'm using a command like this:

OUTPUTDIR="/home/will/Music/Rips" sudo abcde -d /dev/sr0 -o wav -a
read,encode,tag,move,clean -B -Q musicbrainz

While this successfully rips the CD, all resulting files are owned by
root. I’d prefer to run abcde as my regular user so that file ownership
remains with me, and I can easily manage and move the files afterward.

Are there any known workarounds—perhaps adjustments to udev rules or
modifications in the abcde configuration—that can allow abcde to access
the CD-ROM and rip CDs without requiring root privileges?

Any help or suggestions would be greatly appreciated!

Thanks in advance,

Will

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: abcde 2.9.3-1
ProcVersionSignature: Ubuntu 6.11.0-21.21~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-21-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Mon Mar 31 15:32:41 2025
InstallationDate: Installed on 2025-03-31 (1 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
PackageArchitecture: all
SourcePackage: abcde
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.abcde.conf: 2025-03-31T10:56:13.159852

** Affects: abcde (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2105700

Title:
  Abcde Ripping Requires Root – Permission Issues with CD-ROM and Output
  Files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/abcde/+bug/2105700/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to