Pierre Thierry, le Thu 25 Jul 2013 15:53:41 +0200, a écrit :
> On Mon, Jul 22, 2013 at 10:11:32AM +0200, Samuel Thibault wrote:
> > Mmm, but we also want to check that the user can read all components,
> > otherwise we may be revealing directory entries which the user was not
> > supposed to find o
On Mon, Jul 22, 2013 at 10:11:32AM +0200, Samuel Thibault wrote:
> Mmm, but we also want to check that the user can read all components,
> otherwise we may be revealing directory entries which the user was not
> supposed to find out.
That's not the behaviour on Linux and I've always found it desir
Justus Winter, le Fri 19 Jul 2013 17:25:09 +0200, a écrit :
> + /* check_access performs the same permission check as is normally
> + done, i.e. it checks that all but the last path components are
> + executable by the requesting user and that the last component is
> + readable.
---
libnetfs/Makefile |2 +-
libnetfs/file-set-translator.c | 15 ++
libnetfs/fsys-get-children.c | 113
3 files changed, 129 insertions(+), 1 deletion(-)
create mode 100644 libnetfs/fsys-get-children.c
diff --git a/libnetfs/Make
---
libnetfs/Makefile |2 +-
libnetfs/file-set-translator.c | 19 ++
libnetfs/fsys-get-children.c | 53
3 files changed, 73 insertions(+), 1 deletion(-)
create mode 100644 libnetfs/fsys-get-children.c
diff --git a/libnet