[Midnight Commander] #261: Source file permissions are not safe

Ticket System tickets at midnight-commander.org
Thu Feb 5 23:10:34 UTC 2009


#261: Source file permissions are not safe
--------------------+-------------------------------------------------------
 Reporter:  guanx   |       Owner:       
     Type:  defect  |      Status:  new  
 Priority:  major   |   Milestone:  4.6.3
Component:  adm     |     Version:  4.6.2
 Keywords:          |    Blocking:       
Blockedby:          |  
--------------------+-------------------------------------------------------
 The source files are owned by a normal user. When root unpacks the tar
 ball to some public place, e.g. /usr/src or /tmp, normal users may have
 write access to the source.

 To correct this, run the following command before packing the source code
 for publication:

 chown -R root:root mc-x.y.z
 chmod -R og-w mc-x.y.z

-- 
Ticket URL: <www.midnight-commander.org/ticket/261>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


More information about the mc-devel mailing list