Hi, On Fri, 22 Feb 2008, Ian Jackson wrote: > Peter Gervai writes ("Bug#467024: dpkg: "control directory has bad > permissions" message could be more helpful"): > > dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and > > <=0775)make: *** [binary-arch] Error 2 > > > > should include this hint, because it's pretty hard to figure out anyway: > > "(maybe you're building in a setgid directory?)" > > ..because exactly that's what usually happening.
What package were you trying to build? I believe that any modern package using debhelper or similar tools probably fixes the right on the temporary directory (thought I haven't checked). > Someone building a package should know that the problem with an actual > mode of 2755 when compared with a maximum of 0775 is that 2755 has bit > 2000 set, and that 2000 is the setgid bit. If there is any confusion > at all then the relevant manpages (eg, chmod, I think) ought to answer > it. It's not obvious to everybody and I dislike the way you ditch such user problems. Maybe changing the error message is not the best solution, that doesn't mean there's nothing to improve. Why doesn't dpkg-deb fix the right on the directory by removing any special rights for example? > So I think this error message is abundantly clear to its intended > target audience. I think you have no idea how many users may want to recompile packages occasionnaly. Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/