Le vendredi 11 juillet à 15h 05mn 19s (-0700), Jameson Graef Rollins a écrit :
> On Fri, Jul 11 2014, Daniel Kahn Gillmor <[email protected]> wrote:
> > On 07/11/2014 08:43 AM, jhcha54008 wrote:
> >> The following patch just change the owner of /var/cache/man/*
> >> to man.
> >> 
> >> Regards,
> >> JH Chatenet
> >> 
> >> diff -Naur a/usr/share/debirf/modules/z1_clean-root 
> >> b/usr/share/debirf/modules/z1_clean-root
> >> --- a/usr/share/debirf/modules/z1_clean-root       2014-07-09 
> >> 22:28:14.000000000 +0200
> >> +++ b/usr/share/debirf/modules/z1_clean-root       2014-07-10 
> >> 16:17:22.000000000 +0200
> >> @@ -28,3 +28,11 @@
> >>  
> >>  # setup dynamically updated /etc/mtab
> >>  ln -sf /proc/mounts "$DEBIRF_ROOT/etc/mtab"
> >> +
> >> +# fix owner of /var/cache/man
> >> +
> >> +if [ -d "$DEBIRF_ROOT/var/cache/man" ]; then
> >> +    chown -R man:root "$DEBIRF_ROOT/var/cache/man"
> >> +fi
> >> +
> >> +
> >
> > Why should this workaround be necessary?  I am pretty strongly averse to
> > any extra chown -R's so i'd like to figure out  *why* it's happening
> > instead of slapping on a band-aid.  Maybe this is a bug in debootstrap's
> > fakechroot variant or something?
> 
> JH, how was this image created?  The '-r' option wasn't used, was it?
> 
> jamie.

Neither option -r nor ROOT_BUILD="true" were given - the image was created by 
debirf in a fakechroot
environment. I just added the module 'install-manpages' to the example profile 
'minimal'. 

I must admit I don't know the cause of this. Surely, it would be nice to find 
why fakechroot gave the
ownership to root.

I hope it will help

Regards,
JH Chatenet


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to