bug-fileutils
[Top][All Lists]
Advanced

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

Re: rm no longer prompts on unwritable files


From: Jim Meyering
Subject: Re: rm no longer prompts on unwritable files
Date: 18 Feb 2001 17:22:44 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.98

Argh.  Thanks for catching that.
It was my mistake -- introduced in 4.0.38.
I've just reverted the offending change and will make
a snap test release tonight.

Vin Shelton <address@hidden> wrote:
| Jim et al,
|
| It used to be that if I tried to remove I file which I didn't have
| write permission for, rm would prompt me:
|
|     : zion ~ Sat 17 22:20; !tou
|     touch xxx;chmod 444 xxx
|     : zion ~ Sat 17 22:20; /bin/rm --version
|     rm (GNU fileutils) 4.0p
|     Written by Paul Rubin, David MacKenzie, Richard Stallman, and Jim 
Meyering.
|
|     Copyright (C) 1999 Free Software Foundation, Inc.
|     This is free software; see the source for copying conditions.  There is NO
|     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.
|     : zion ~ Sat 17 22:20; /bin/rm xxx
|     /bin/rm: remove write-protected file `xxx'? y
|
|
| This is no longer the case, however:
|
|     : zion ~ Sat 17 22:20; !tou
|     touch xxx;chmod 444 xxx
|     : zion ~ Sat 17 22:21; rm --version
|     rm (fileutils) 4.0.40
|     Written by Paul Rubin, David MacKenzie, Richard Stallman, and Jim 
Meyering.
|
|     Copyright (C) 2000 Free Software Foundation, Inc.
|     This is free software; see the source for copying conditions.  There is NO
|     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.
|     : zion ~ Sat 17 22:21; rm xxx
|
| I can't see any option to get the old behavior back.  Was the change
| intentional?



reply via email to

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