summaryrefslogtreecommitdiff
path: root/bin/mv/mv.c
AgeCommit message (Collapse)Author
1997-04-12don't print more directory slashes than user specified on error.michaels
Reported by Nick Sayer (nsayer@quack.kfu.com) in FreeBSD pr bin/3025.
1997-03-01Error out if someone tries to mv a mount point. Old behavior was toTodd C. Miller
move all files contained in the mounted filesystem to the dest. dir which could be quite nasty. Personally, I think rename(2) should return EPERM or EINVAL instead of EXDEV.
1997-02-02Remember errno if fchown() fails so we get correct warningsThorsten Lockert
Only warn about not being able to restore user/group owner if not -f
1996-12-14-Wall'ing.Michael Shalayeff
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-07-30regarding freebsd pr#1351 & pr#1377 re: fastcopy(); kill "wrong gid butTheo de Raadt
group-readable" window; do not setuid/setgid if fchown() fails.
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt