[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] 2-8-7r4 LYUtils.c won't find ~/.mailcap

From: Thomas Dickey
Subject: Re: [Lynx-dev] 2-8-7r4 LYUtils.c won't find ~/.mailcap
Date: Mon, 19 Feb 2007 18:31:06 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

On Mon, Feb 19, 2007 at 10:07:51AM -0500, Thomas Dickey wrote:
> On Mon, Feb 19, 2007 at 03:23:39PM +0100, Rado S wrote:
> > =- Thomas Dickey wrote on Sun 18.Feb'07 at 10:45:15 -0500 -=
> > 
> > > >I've installed 2.8.7dev.4 only to find that my ~/.mailcap, which
> > > >is a symlink, isn't found anymore by LYUtils.c .
> > > 
> > > Rereading the code, it seems that if you created the link as
> > > root, that would confuse it.
> > 
> > But in my case the link is owned by me, not root.
> > And before upgrading, the same setup worked out of the box.
> ok...I'll investigate further (thanks)

The issue is simply that it's a symbolic link (which IsOurFile() has
rejected for quite a while - since 2.8.1dev.20 in 1998).

The change that you're seeing was due to incorporating IsOurFile() into
HTInit.c - generally an improvement, but since it doesn't allow for
special cases of whether the symbolic link is created in a user-owned
directory, points to a real file in a user-owned directory, then it
could be improved.

That's the goal - to not accidentally point to things that someone else
could modify.  Lynx has generally assumed that the home directory is
safe (which is why bookmarks live there ;-).

So what sort of symbolic link configuration are we talking about here?

Thomas E. Dickey <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]