[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Tags not working, how to diagnose?
From: |
Chris G |
Subject: |
Re: [vile] Tags not working, how to diagnose? |
Date: |
Sun, 21 Oct 2007 11:58:57 +0100 |
User-agent: |
Mutt/1.5.16 (2007-06-09) |
On Sat, Oct 20, 2007 at 05:38:31PM -0400, Thomas Dickey wrote:
>
> if (ffaccess(fname, mode)) {
> #if SYS_UNIX
> int success = FALSE;
>
> if (mode & FL_EXECABLE) {
> char *dname = malloc(NFILEN + strlen(fname) + 10);
> if (dname != 0) {
> sprintf(dname, "%s%c..", fname, vl_pathsep);
> lengthen_path(dname);
> if (is_our_file(dname) && is_our_file(fname)) {
> success = TRUE;
> }
> free(dname);
> }
> } else {
> success = TRUE;
> }
> if (success)
> #endif
>
> The is_our_file() call is seeing that your directory is group-writable.
> I added a check last year:
>
> 20061212 (m)
> + disallow source'ing from the current directory if the source'd
> file
> might be writable by other users.
>
> The check is really aimed at sourcing things like .vilerc, but tags
> happens to be using the same function. So vile ignores that file,
> continues looking for something better.
>
> It "should" work if you chmod the directory to 755.
>
That's it, thanks.
I don't quite know why all my directories are 775 at the moment, no
good reason I suspect. Aha, umask is set to 0002.
--
Chris Green
- [vile] Tags not working, how to diagnose?, Chris G, 2007/10/19
- Re: [vile] Tags not working, how to diagnose?, Thomas Dickey, 2007/10/19
- Re: [vile] Tags not working, how to diagnose?, Chris G, 2007/10/20
- Re: [vile] Tags not working, how to diagnose?, Paul Fox, 2007/10/20
- Re: [vile] Tags not working, how to diagnose?, Thomas Dickey, 2007/10/20
- Re: [vile] Tags not working, how to diagnose?, Chris G, 2007/10/20
- Re: [vile] Tags not working, how to diagnose?, Thomas Dickey, 2007/10/20
- Re: [vile] Tags not working, how to diagnose?, Paul Fox, 2007/10/20
- Re: [vile] Tags not working, how to diagnose?, Thomas Dickey, 2007/10/20
- Re: [vile] Tags not working, how to diagnose?,
Chris G <=
- Re: [vile] Tags not working, how to diagnose?, Thomas Dickey, 2007/10/21
- Re: [vile] Tags not working, how to diagnose?, Chris G, 2007/10/21