Discussion:
[libdvdcss-devel] Tries to create cache subdirectory in / (root)
Christian Pernegger
2016-03-10 12:29:35 UTC
Permalink
Hi again,

while trying to find a solution to my other problem, I think I might
have stumbled upon a bug. My version of libdvdcss2 (1.4.0, as
downloaded and compiled by Debian's libdvd-pkg) tries to create cache
*sub*directories directly under / when used on an iso image file, i.e.
the first part of the path ($HOME/.dvdcss) gets dropped somehow. If I
set DVDCSS_CACHE then the same mkdir is called with "" (and obviously
fails), regardless of the value.

I'm using dvdbackup (Debian 0.4.2-4) and I suppose libdvdread4 (5.0.0,
via libdvd-pkg) for these experiments but they shouldn't influence
caching, should they?

Regards,
Christian
Christian Pernegger
2016-03-13 13:29:07 UTC
Permalink
Hmm, I did some more testing on a box which actually has physical
drives, and the cache subdir handling appears to be broken even on
physical discs in 1.4.0. It always tries to access /$subdir for me
(DVDCSS_CACHE not set).

Note that $HOME/.dvdcss gets created fine and CACHEDIR.TAG written as well.

Regards,
Christian Pernegger
Post by Christian Pernegger
Hi again,
while trying to find a solution to my other problem, I think I might
have stumbled upon a bug. My version of libdvdcss2 (1.4.0, as
downloaded and compiled by Debian's libdvd-pkg) tries to create cache
*sub*directories directly under / when used on an iso image file, i.e.
the first part of the path ($HOME/.dvdcss) gets dropped somehow. If I
set DVDCSS_CACHE then the same mkdir is called with "" (and obviously
fails), regardless of the value.
I'm using dvdbackup (Debian 0.4.2-4) and I suppose libdvdread4 (5.0.0,
via libdvd-pkg) for these experiments but they shouldn't influence
caching, should they?
Regards,
Christian
Loading...