Re: [dvd::rip] Read-only path is detected writable
|
Subject: |
Re: [dvd::rip] Read-only path is detected writable |
|
From: |
Michael Müller <mueller_michael@xxxxxxxxxxx> |
|
Date: |
Mon, 24 Apr 2006 23:38:12 +0200 |
Hi Jörn!
On Mon, Apr 24, 2006 at 10:19:05PM +0200, Jörn Reder <joern@xxxxxx> wrote:
> 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"'
It writes "writable".
> 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...
I will ask the maintainer of JFS. He always reponses fast.
Regards
Michael
|
|