DragonFly BSD
DragonFly bugs List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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

From: Chris Turner <c.turner@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Apr 2010 18:10:25 +0000

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.



- Chris

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]