Re: man sticky

看板DFBSD_docs作者時間21年前 (2004/09/27 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
On Sun, 26 Sep 2004 12:13:55 -0700 (PDT) Matthew Dillon <dillon@apollo.backplane.com> wrote: > > : > :man sticky's BUGS section says mkdir can't create sticky folders, which > :is wrong. > : > :Is this list intended for such observations? > : > :/Jonas Sundstr闣. www.kirilla.com > > It turns out that mkdir(2) (the system call, not /bin/mkdir) in fact > cannot create directories with the sticky bit set. So the manual page > is a bit obtuse but correct. I will clarify the manual page. It cleary shows mkdir(2). Something like: BUGS Neither the open(2) or mkdir(2) system call will create a file with the sticky bit set. Easy to become confused though:) > > -Matt > Matthew Dillon > <dillon@backplane.com> -- -Liam J. Foy http://liamfoy.kerneled.org
文章代碼(AID): #11Lnau00 (DFBSD_docs)
文章代碼(AID): #11Lnau00 (DFBSD_docs)