Ticket #2278 (new defect) — at Version 4

Opened 14 years ago

Last modified 4 months ago

Problem in the Copy operation

Reported by: eshkrig Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: 4.7.4
Keywords: Cc: gotar@…, howaboutsynergy@…
Blocked By: Blocking:
Branch state: merged Votes for changeset:

Description (last modified by andrew_b) (diff)

Hi.
Sorry for my English.
Previously, copying a file does not change access permissions of the destination file if the check box "Preserve attributes" in the Copy window is not set.
For some time it is not so: if you uncheck the "Preserve attributes" then access permissions of the destination file are set in accordance with the value of umask, which can lead to information disclosure(i.e. security problem).

Change History

comment:1 Changed 14 years ago by eshkrig

  • Version changed from 4.7.3 to 4.7.4

The problem is still present in version 4.7.4

comment:2 Changed 14 years ago by eshkrig

the problem is still there:
app-misc/mc-4.7.5.1

comment:3 Changed 14 years ago by eshkrig

the problem is still there:
app-misc/mc-4.7.5.2

comment:4 in reply to: ↑ description Changed 14 years ago by andrew_b

  • Description modified (diff)
  • Milestone changed from 4.7 to 4.8

Replying to eshkrig:

Previously, copying a file does not change access permissions of the destination file if the check box "Preserve attributes" in the Copy window is not set. For some time it is not so: if you uncheck the "Preserve attributes" then access permissions of the destination file are setted in accordance with the value of umask,

Yes, that done in #72. But how do you think should be a difference whether "Preserve attributes" is checked or not?

Note: See TracTickets for help on using tickets.