cvs commit: src/bin/rm rm.1 rm.c
Victor Balada Diaz
victor at bsdes.net
Sun Nov 5 01:36:29 PST 2006
On Sat, Nov 04, 2006 at 06:26:39PM -0800, Matthew Dillon wrote:
> dillon 2006/11/04 18:26:39 PST
>
> DragonFly src repository
>
> Modified files:
> bin/rm rm.1 rm.c
> Log:
> Sync our rm -P option with OpenBSD - if the file has a hardlink count
> greater then one do not overwrite it or remove it, and issue a warning.
If you use -P you know what you're doing, or at least if you use -f
with -P. DragonFly by default allows any user to do a hard link to
a file he doesn't own, so if you really want to delete file contents
you must be able to.
The system shouldn't prevent the user doing what he feels is ok or
we will end importing clippy :)
--
La prueba más fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros.
More information about the Commits
mailing list