|
From: | Jim Meyering |
Subject: | Re: rm -f and unexecutable directories |
Date: | Fri, 07 Nov 2003 22:23:56 +0100 |
Ed Avis <address@hidden> wrote: > % mkdir -p fred/jim > % chmod a-x fred/jim > % rm -rf fred > rm: cannot chdir from `fred' to `jim': Permission denied > > But since I own the directory I could change the permissions and then > remove it. Shouldn't rm do this if I gave the 'force' option? I > thought that would take all measures necessary. rm may not do that. POSIX prohibits it.
[Prev in Thread] | Current Thread | [Next in Thread] |