bug-fileutils
[Top][All Lists]
Advanced

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

rm no longer prompts on unwritable files


From: Vin Shelton
Subject: rm no longer prompts on unwritable files
Date: 17 Feb 2001 22:24:14 -0500

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?

Thanks,
  vin shelton



reply via email to

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