reopen 466370
found 466370 1:4.6.2~pre1-5
thanks

It's still there! :(

I found with diff some changes between 4.6.1 and 4.6.2-pre1 sources that
could be the cause of this bug: in mc-4.6.2~pre1/src/ChangeLog there is
---
  2007-02-22  Pavel Tsekov  <[EMAIL PROTECTED]>
    * file.c (copy_file_file): chmod() the target file no matter whether
    "preserve attributes" is checked or not, since the destination is
    initially created with mode 0600.
---

Changing src/file.c:793 to

  if (!appending && ctx->preserve) {

seemed to solve the problem, but only when copying: moving a file with the
executable bit and "preserve attributes" unchecked still create it +x.

ciao
Riccardo

Attachment: signature.asc
Description: Digital signature

Reply via email to