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.

Attachment: pgpdGRLOEvJ65.pgp
Description: PGP signature

Reply via email to