Ticket #2278: Problem in the Copy operation
commit82dcbe219498c7fa7d3879829e7a7631c82276f7
authorSlava Zanko <slavazanko@gmail.com>
Thu, 22 Mar 2012 15:56:03 +0000 (22 18:56 +0300)
committerSlava Zanko <slavazanko@gmail.com>
Mon, 26 Mar 2012 08:04:43 +0000 (26 11:04 +0300)
treec40b0b34f30500a1de85de1d079a74e016f344bf
parent4fd3dee93a2dd1ea7c8bf872064bdf3c18ea2c50
Ticket #2278: Problem in the Copy operation

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).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
src/filemanager/file.c