|
From: | Paul Eggert |
Subject: | Re: coreutils-6.4: mv(1), rename(2) and 9p |
Date: | Thu, 04 Jan 2007 23:29:32 -0800 |
User-agent: | Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
sqweek <address@hidden> writes: > - if (errno != EXDEV) > + if (errno != EXDEV && errno != EPERM) This would cause 'mv' to fail to conform to POSIX. POSIX says that if the rename fails for any reason other than EXDEV, 'mv' must write a diagnostic message to stderr and do nothing more with the source file. See <http://www.opengroup.org/susv3/utilities/mv.html> and look for "EXDEV".
[Prev in Thread] | Current Thread | [Next in Thread] |