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 <[EMAIL PROTECTED]> 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?

_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to