[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev moving files to directories that one doesn't own
From: |
Jon Schewe |
Subject: |
Re: lynx-dev moving files to directories that one doesn't own |
Date: |
Tue, 6 Jul 1999 11:13:15 -0500 (CDT) |
> There are no plans, as far as I know.
>
> The check for this is done explicitly in 'dir_has_same_owner' in
> HTLocal.c. You could modify that (and sumbit a patch to the list)
I believe you means LYLocal.c
> to be more lenient. There is a function HTEditable in HTFile.c,
> a simple way to modify 'dir_has_same_owner' would be to add a call
> to 'HTEditable' after the first 'else' in 'dir_has_same_owner'
> (and proceed according to the return value). [ I'm not sure whether
> HTEditable really does a good job, it hasn't really been used for
> a long time. I think it was called, but nothing noticeable actually
> depended on its result.]
>
This looks good except that dir_has_same_owner just gets the stat info and
the owners uid, but HTEditable wants the directory name, I'll at least have
to copy the functionality out of HTFile.c
--
Jon Schewe
http://eggplant.mtu.net/~schewe
address@hidden