Re: [dvd::rip] Read-only path is detected writable
|
Subject: |
Re: [dvd::rip] Read-only path is detected writable |
|
From: |
Jörn Reder <joern@xxxxxx> |
|
Date: |
Mon, 24 Apr 2006 22:19:05 +0200 |
Michael Müller wrote:
> dvd::rip (v0.52.6 and v0.97.8) detects under 'Global preferences' the
> 'Default data base directory' and 'Default directory for .rip project
> files' on a read-only mounted partition writable.
>
> It seems that dvd::rip only looks at the access rigths. I'm using JFS
> as filesystem. I don't know if it is JFS specific that a read-only
> mounted partition doesn't loose the writable flag (I have no
> possibility to check with a different filesytem).
Hmm, dvd::rip checks directory permission with this expression:
-d $dir && -w $dir
which looks Ok to me ;) To be sure it's no dvd::rip bug elsewhere, what
does this command print?
perl -e 'my $dir="/opt/Multimedia/Filme/dvdrip/"; -d $dir && -w $dir && print
"writable\n"'
If this prints "writable" on a read only filesystem, we obviously hit a
bug either in Perl or in JFS. If not, I have to dig deeper into
dvd::rip...
Regards,
Joern
--
Joern Reder
Development Head ZYN! Coding Division - http://www.zyn.de/
pgpsHKBs3iX1R.pgp
Description: PGP signature
|
|