tag 515211 wontfix thanks Hi!
On Sun, 2009-02-15 at 05:12:38 +0900, James Andrewartha wrote: > Package: dpkg > Version: 1.14.25 > Severity: normal > > http://intertwingly.net/blog/2009/02/12/Debian-Package-Management#c1234474348 > > base-files in eeebuntu at one point had the wrong mode on /var/tmp. Despite > the mode of /var/tmp being corrected in later versions of the package, the > mode on the filesystem wasn't changed upon upgrade or reinstallation of the > package. > > Reading archives.c, for all files other than existing directories the mode is > set to 0 before being set to the values in the tar file. To me, the > special-casing of existing directories' modes not being changed is a bug, as > it means packaging mistakes can't be corrected. It also means > dpkg-statoverride can't be used for existing directories. The thing is, directories are a shared resource, provided by several packages, so if dpkg would honour the perms from the new package version, they would also be overriden by any subsequent perm changes from other packages shipping it. The current correct way to handle such cases is to change the perms from the maintainer script. This situation is not ideal, because it implies the first package installed from a set sharing a directory is the one that wins, but in case of base-files that's fine because it provides the directory hierarch skeleton, and it's essential. We might have a better way to handle all this in the future, but for now I'm tagging this wontfix. thanks, guillem -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

