dpkg doesn't change permissions on directories during upgrades?
To fix a bug, I changed the permissions on a directory in my xbl pacakge.
Old:
drwxr-xr-x root/games 0 Dec 21 00:29 1996 var/lib/games/xbl/
New:
drwxrwsr-x root/games 0 Dec 29 14:01 1996 var/lib/games/xbl/
However, when I upgrade, dpkg doesn't modify the permissions of
/var/lib/games/xbl:
[root@kite] /home/joey/debian/build>ls -ld /var/lib/games/xbl
drwxr-xr-x 2 root games 1024 Dec 21 00:29 /var/lib/games/xbl/
[root@kite] /home/joey/debian/build>dpkg -i xbl_1.0f-5_i386.deb
(Reading database ... 24124 files and directories currently installed.)
Preparing to replace xbl 1.0f-5 (using xbl_1.0f-5_i386.deb) ...
Unpacking replacement xbl ...
Setting up xbl (1.0f-5) ...
[root@kite] /home/joey/debian/build>ls -ld /var/lib/games/xbl
drwxr-xr-x 2 root games 1024 Dec 21 00:29 /var/lib/games/xbl/
Is this intentional? Or a bug in dpkg?
--
#!/usr/bin/perl -pl- # ,,ep) ayf >|)nj,,
$_=reverse lc$_;s@"@''@g;y/[]{A-U}<>()a-y1-9,!.?`'/][} # Joey Hess
{><)(eq)paj6y!fk7wuodbjsfn^mxhl5Eh29L86`i'%,/;s@k@>|@g # joey@kite.ml.org
"How appropriate, you fight like a cow." - - Guybrush Threepwood
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: