[Midnight Commander] #72: savannah: "preserve Attributes" unchecked, but chmod errors still there

Ticket System tickets at midnight-commander.org
Fri Jan 30 23:08:34 UTC 2009


#72: savannah: "preserve Attributes" unchecked, but chmod errors still there
-------------------------+--------------------------------------------------
  Reporter:  slavazanko  |       Owner:        
      Type:  defect      |      Status:  new   
  Priority:  major       |   Milestone:        
 Component:  vfs         |     Version:        
Resolution:              |    Keywords:  review
  Blocking:              |   Blockedby:        
-------------------------+--------------------------------------------------
Changes (by guanx):

  * keywords:  => review


Comment:

 This patch fixed two problems:
 1. When copying files, between mc's checking the target's non-existence
 and open(2)-ing the target file, (sym)link attack is possible.
 2. Even when "Preserve Attributes" is unchecked, permissions are still
 preserved.

-- 
Ticket URL: <www.midnight-commander.org/ticket/72#comment:1>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


More information about the mc-devel mailing list