Re: /proc filesystem allows bypassing directory permissions on

看板Bugtraq作者時間16年前 (2009/10/27 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串14/47 (看更多)
Pavel Machek wrote: > Check it again. There's no race; I check link count before chmod 666. Which creates a race condition, as the link could be created after the check but before the chmod. You can't safely rely upon directory permissions if the directory was created 0777 then chmod'ed down later. It needs to be created with the restrictive permissions from the outset. -- Glynn Clements <glynn@gclements.plus.com>
文章代碼(AID): #1AvZ-24E (Bugtraq)
討論串 (同標題文章)
完整討論串 (本文為第 14 之 47 篇):
文章代碼(AID): #1AvZ-24E (Bugtraq)