On 22-09-2014 12:30, Pierre Labastie wrote: > Le 22/09/2014 16:45, Fernando de Oliveira a écrit : >> On 22-09-2014 11:21, Pierre Labastie wrote: >>> Le 22/09/2014 12:13, Fernando de Oliveira a écrit : >> >>>> I realized that p7zip uncompress as other user/group, apparently if >>>> uncompressing user is root. Is this a problem to be solved with >>>> something such as --no-same-user? >>>> >>> Hello, >> Hello, >> >>> The switch is --no-overwrite-dir >> No it is not: >> >> no-same-owner >> > Oh, I understand now, it is just that the user in the unpacked directory > is not "root". What is the problem then, if building as root? > And why unpacking as root if not building as root? >> >>> So I do not think we should care about people unpacking and /or >>> building as "root": they have been warned... >> I always care about people, whether warned or not... > Do not laugh at my English ;-) . I mean that we cannot encompass all > the cases outside those we propose!
You are right. I was not laughing. Sometimes we are too busy trying tp solve difficult problems and forget that we are working here essentially for people, so I always like to stress that. >> >>> So if we put instructions on the page, which suppose that you have not >>> yet unpacked (as would be the use of that switch), it is against that >>> general principle and should be at least properly advertised. >> That is what I was thinking: properly advertise. >> > If you do that for this package, you have to find out all the packages that > do the same and advertise them, then... That is, "tar -tvf" all the > packages > and advertise those which have lines with do not contain "root/root". > > Then putting extracting instructions onto the page for some packages > and not others will prevent any automation (it looks like the libreoffice > case may be an exception). I do use automation > for checking what is written in the book, which sometimes differs > from what the editors think is in the book. This kind of check will > be made nearly impossible. No, I was already convinced by your arguments, thanks. -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
