On Tue, 2015-06-09 at 10:55 +0200, Svante Signell wrote: > On Tue, 2015-06-09 at 10:43 +0200, Samuel Thibault wrote: > > Svante Signell, le Tue 09 Jun 2015 10:13:46 +0200, a écrit : > > > Done so now. Attached are two versions of a patch to fakeroot.c. In > > > netfs_get_dirents(): call netfs_attempt_chmod() before dir_readdir() to > > > make sure that directories are accessible (executable) before changing > > > the underlying files. > > > > Why are they not accessible? > > > > We don't want to browntape-fix the issue, but really understand what is > > happening. > > chmod -R 644 <directory> makes all directories drwr--r-- i.e. not > accessible, as I wrote. Is that a brown-tape fix? > > mkdir test touch test/a
chmod -R test chmod: cannot access ‘test/a’: Permission denied ls -ld test drw-r--r-- 2 srs srs 4096 Jun 9 11:00 test ls -l test ls: cannot access test/a: Permission denied total 0 -????????? ? ? ? ? ? a
