[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: [PATCH] trans/fakeroot.c
From: |
Svante Signell |
Subject: |
Re: RFC: [PATCH] trans/fakeroot.c |
Date: |
Tue, 09 Jun 2015 11:01:54 +0200 |
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
- Re: RFC: [PATCH] trans/fakeroot.c, Samuel Thibault, 2015/06/05
- Re: RFC: [PATCH] trans/fakeroot.c, Svante Signell, 2015/06/09
- Re: RFC: [PATCH] trans/fakeroot.c, Samuel Thibault, 2015/06/09
- Re: RFC: [PATCH] trans/fakeroot.c, Samuel Thibault, 2015/06/09
- Re: RFC: [PATCH] trans/fakeroot.c, Svante Signell, 2015/06/09
- Re: RFC: [PATCH] trans/fakeroot.c, Samuel Thibault, 2015/06/09
- Re: RFC: [PATCH] trans/fakeroot.c, Svante Signell, 2015/06/09
- Re: RFC: [PATCH] trans/fakeroot.c, Samuel Thibault, 2015/06/09
- Re: RFC: [PATCH] trans/fakeroot.c, Svante Signell, 2015/06/09
- Re: RFC: [PATCH] trans/fakeroot.c, Svante Signell, 2015/06/10
- Re: RFC: [PATCH] trans/fakeroot.c, Svante Signell, 2015/06/10
- Re: RFC: [PATCH] trans/fakeroot.c, Samuel Thibault, 2015/06/16