Re: [bugs #9185] rm calls access() but it shouldn't
From:
Tim Waugh
Subject:
Re: [bugs #9185] rm calls access() but it shouldn't
Date:
Thu, 3 Jun 2004 12:35:24 +0100
User-agent:
Mutt/1.4.1i
On Wed, Jun 02, 2004 at 06:53:33PM +0200, Jim Meyering wrote:
> Thanks for forwarding that report!
> I'm considering applying the patch below. Unfortunately, rm (without -f)
> must call access (via euidaccess) to determine whether it needs to issue
> a prompt. With this patch, rm now calls both lstat and access for each
> non-symlink it might unlink. Another good reason to use -f.
Thanks. Works for me.
Tim.
*/