bug-coreutils
[Top][All Lists]
Advanced

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

Re: rm -f and unexecutable directories


From: Ed Avis
Subject: Re: rm -f and unexecutable directories
Date: Sat, 8 Nov 2003 21:34:36 +0000 (GMT)

On Sat, 8 Nov 2003, Jim Meyering wrote:

>>>>     -F, --really-force
>>>>             As --force but also change permissions if necessary.

>I looked into it a little, and am now even less enthusiastic. Doing
>it right would mean changes that are way too invasive. They'd have
>to handle failed chdir, opendir, readdir and retry after a chmod.

Well - that's one way to do it, the other way is to chmod every file
before doing anything with it.  But that might be slow (I haven't
benchmarked).

-- 
Ed Avis <address@hidden>






reply via email to

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