Bug#486926: Installed system does not have correct permissions on directories

2008-06-19 Thread Otavio Salvador
Chris Lamb <[EMAIL PROTECTED]> writes: > Joey Hess wrote: > >> If so, jusr db_progress STEP 1 <&4 should work just as well and less >> messily, like in my patch. > > Your patch works. Please disregard mine.. many thanks. Joey, could you please commit it? -- O T A V I OS A L V A D O

Bug#486926: Installed system does not have correct permissions on directories

2008-06-19 Thread Chris Lamb
Joey Hess wrote: > If so, jusr db_progress STEP 1 <&4 should work just as well and less > messily, like in my patch. Your patch works. Please disregard mine.. many thanks. Regards, -- Chris Lamb, UK [EMAIL PROTECTED]

Bug#486926: Installed system does not have correct permissions on directories

2008-06-19 Thread Joey Hess
Chris Lamb wrote: > tags 486926 + patch > thanks > > Chris Lamb wrote: > > > I tried a few fd/fifo redirection tricks, but couldn't get the right > > combination..any ideas? > > Got it, hurrah. Updated and tested patch attached. Huh, it looks like I was at least on the right track with my patch

Bug#486926: Installed system does not have correct permissions on directories

2008-06-19 Thread Joey Hess
Chris Lamb wrote: > That fixes that problem, but now the read command started by "db_progress > STEP 1" is reading a filename instead of the the STEP value, resulting in > "Invalid value: ./bin/", and the installation failing. > > I tried a few fd/fifo redirection tricks, but couldn't get the righ

Bug#486926: Installed system does not have correct permissions on directories

2008-06-19 Thread Chris Lamb
tags 486926 + patch thanks Chris Lamb wrote: > I tried a few fd/fifo redirection tricks, but couldn't get the right > combination..any ideas? Got it, hurrah. Updated and tested patch attached. Regards, -- Chris Lamb, UK [EMAIL PROTECTED]

Bug#486926: Installed system does not have correct permissions on directories

2008-06-19 Thread Chris Lamb
Joey Hess wrote: > > something seems to block the filename output from tar, causing the > > progress bar to sit at 2% until very near the end - it then shoots up > > quite quickly. > > Right, I guess I'd need to use a read loop to get the lines one at a > time rather than having it buffer. Upda

Bug#486926: Installed system does not have correct permissions on directories

2008-06-18 Thread Daniel Baumann
Joey Hess wrote: >> As a bonus, before reading your reply I had re-implemented this >> functionality in C which sped it up by a factor of 4 - using tar seems to >> have the same effect. > > Using C is an interesting idea.. yes. using tar from the live-system would be unfortunate, as it highers th

Bug#486926: Installed system does not have correct permissions on directories

2008-06-18 Thread Joey Hess
Chris Lamb wrote: > Just tried it here. Whilst the files are copied with the correct permissions > (yay), something seems to block the filename output from tar, causing the > progress bar to sit at 2% until very near the end - it then shoots up quite > quickly. Right, I guess I'd need to use a rea

Bug#486926: Installed system does not have correct permissions on directories

2008-06-18 Thread Chris Lamb
Joey Hess wrote: > The thing to do seems to be to use tar instead. > > I cannot test the attached patch easily, since I have no live CDs to use > it with. Just tried it here. Whilst the files are copied with the correct permissions (yay), something seems to block the filename output from tar, ca

Bug#486926: Installed system does not have correct permissions on directories

2008-06-18 Thread Joey Hess
Chris Lamb wrote: > Package: live-installer > Severity: normal > Version: 5 > > After installation via live-installer, permisions on directories are all > 0755. This is especially noticable on /tmp, /var/mail, /etc/ssl/private, etc. If that's the case, the bug should probably be RC; a system with

Bug#486926: Installed system does not have correct permissions on directories

2008-06-18 Thread Chris Lamb
Package: live-installer Severity: normal Version: 5 After installation via live-installer, permisions on directories are all 0755. This is especially noticable on /tmp, /var/mail, /etc/ssl/private, etc. Regards, -- Chris Lamb, UK [EMAIL PROTECTED]