Re: [issue1701] mkdir / returns EPERM instead of EEXIST (related
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
討論串 (同標題文章)
完整討論串 (本文為第 6 之 8 篇):