Re: Problem with ftw from (ice-9 ftw)

2014-02-20 Thread Ludovic Courtès
Frank Terbeck skribis: > Ludovic Courtès wrote: >> Frank Terbeck skribis: > [...] >>> The code treats root like a normal user, disregarding the fact that this >>> particular users will be able to access any file or directory no matter >>> the ownership or mode. >> >> Indeed, that’s a bug. I bel

Re: Problem with ftw from (ice-9 ftw)

2014-02-18 Thread Frank Terbeck
Ludovic Courtès wrote: > Frank Terbeck skribis: [...] >> The code treats root like a normal user, disregarding the fact that this >> particular users will be able to access any file or directory no matter >> the ownership or mode. > > Indeed, that’s a bug. I believe this is fixed with this patch:

Re: Problem with ftw from (ice-9 ftw)

2014-02-18 Thread Ludovic Courtès
Hello, Frank Terbeck skribis: > [snip] > % ls -ladn . > drwx-- 11 1000 1000 4096 Feb 18 00:53 . > [snap] > > In that directory and as root, I'm doing the following at guile's REPL: > > [snip] > scheme@(guile-user)> (use-modules (ice-9 ftw)) > scheme@(guile-user)> (format #t "UID: ~d, EUID: ~