bugCompact Disc Input and Control Library - Bugs: bug #36913, doesn't report devices if it gets...


bug #36913: doesn't report devices if it gets permission denied on any other device

Submitted by:  None
Submitted on:  Sat 21 Jul 2012 03:30:09 PM UTC  
Category:  Python Severity:  5 - Average
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  Rocky Bernstein <rocky>
Originator Email:  -email is unavailable- Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 16 Feb 2013 08:48:38 AM UTC, comment #2:

Haven't heard from you in a while.

If you want to pursue this, refile as a libcdio bug doing what was suggested and give a test case.


Rocky Bernstein <rocky>
Project AdministratorIn charge of this item.
Sat 21 Jul 2012 04:54:42 PM UTC, comment #1:

First, it have a feeling the behavior is that processing stops after the first permission denied problem. So if there were a problem on the last drive tried, you would still have the list found before that.

Also, I suspect this is a libcdio problem rather than a pycdio problem. To confirm or deny, please run cd-info to see if has the same behavior.

Rocky Bernstein <rocky>
Project AdministratorIn charge of this item.
Sat 21 Jul 2012 03:30:09 PM UTC, original submission:

In [1]: import pycdio

In [2]: import cdio

In [3]: cdio.get_devices_with_cap(pycdio.FS_MATCH_ALL, False)
++ WARN: open (/dev/loop0): Permission denied
Out[3]: []

In [4]: cdio.get_devices_with_cap(pycdio.FS_MATCH_ALL, False)
Out[4]: ['/dev/scd0', '/dev/sr0']



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rocky (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-02-16 rocky StatusNone => Need Info
        Assigned toNone => rocky
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.3