Re: [issue1701] mkdir / returns EPERM instead of EEXIST (related

看板DFBSD_bugs作者時間16年前 (2010/04/22 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/8 (看更多)
Alex Hornung (via DragonFly issue tracker) wrote: > > I don't see how this applies to '/', since it doesn't have S_ISVTX set. Having > to choose between two descriptions that don't quite apply, I'd at least take the > one that is not completely special-cased on the S_ISVTX flag. > Aha - I mis-remembered my sys/errno.h - and hence didn't get the posix docs write. $ grep -i perm /usr/include/sys/errno.h * the permission of UNIX System Laboratories, Inc. * modification, are permitted provided that the following conditions * without specific prior written permission. #define EPERM 1 /* Operation not permitted */ #define EACCES 13 /* Permission denied */ got it now. Ok. Will fix - tomorrow. aarrgghh! ok. - Chris
文章代碼(AID): #1BpqIbZi (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #1BpqIbZi (DFBSD_bugs)