Re: [PATCH] test-lchown.h: "symlink ownership not supported" is indicated by EOPNOTSUPP

2018-12-20 Thread Ivan Zakharyaschev
Hi Bruno, On Thu, 20 Dec 2018, Bruno Haible wrote: > > Such convention concerning the meaning of EOPNOTSUPP was also stated > > in The Open Group Base Specifications Issue 6 > > IEEE Std 1003.1, 2004 Edition > > (http://pubs.opengroup.org/onlinepubs/009604599/functions/lchown.html); > > however,

Re: [PATCH] test-lchown.h: "symlink ownership not supported" is indicated by EOPNOTSUPP

2018-12-19 Thread Bruno Haible
Hi Ivan, > Such convention concerning the meaning of EOPNOTSUPP was also stated > in The Open Group Base Specifications Issue 6 > IEEE Std 1003.1, 2004 Edition > (http://pubs.opengroup.org/onlinepubs/009604599/functions/lchown.html); > however, the EOPNOTSUPP case is removed in Issue 7, 2018 Editi

[PATCH] test-lchown.h: "symlink ownership not supported" is indicated by EOPNOTSUPP

2018-12-15 Thread Ivan Zakharyaschev
The "symlink ownership not supported" condition is expected to be indicated by EOPNOTSUPP, as opposed to the "no support for ownership", which is indicated by ENOSYS. The latter condition is checked for earlier in this test on a directory (rather than on a symlink). And if ENOSYS is raised for a s