Ticket #2278: Problem in the Copy operation
commita58aee00cbdfeb89fe325434aa8652bfc3654dec
authorSlava Zanko <slavazanko@gmail.com>
Thu, 22 Mar 2012 15:56:03 +0000 (22 18:56 +0300)
committerIlia Maslakov <il.smind@gmail.com>
Mon, 26 Mar 2012 05:50:02 +0000 (26 09:50 +0400)
tree0a455a20a65050cd4c69f1d292799220e8ed7ad0
parent68e1b4f9c6946a3cb1d555b8c061090dfd91faae
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