diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-03-16 04:01:47 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-03-16 04:01:47 +0000 |
commit | 2f3b113bf98f757cf799839e4ec195a00579a2be (patch) | |
tree | f7aef0b0ede953a555fe3f306b3105d244761ef7 /sbin/wsconsctl | |
parent | c379d0232c329e29cf8319b6be8f8b7ed30b373a (diff) |
Currently co(1) overwrites files that the current user doesn't have
write permissions for. If you own the directory, that means your
existing file, mode 000, is blown away without prompting you. GNU
RCS does this as well.
This fixes changes co(1) to always prompt if a file exists. This
breaks GNU compatibility but I think it's more important that we
prevent co(1) from overwriting files with strict permissions without
even prompting.
``makes sense'' xsa to an earlier diff
Diffstat (limited to 'sbin/wsconsctl')
0 files changed, 0 insertions, 0 deletions