Re: directory permission not changed by dpkg

2002-02-28 Thread Joey Hess
Bill Allombert wrote: > I would like to change the permission of a directory in a new > version of my package, but it seems that when you upgrade a > package, dpkg keep the old permissions on directories. That is correct. > It is correct ? on purpose ? Where can I find a good documentation > on

Re: directory permission not changed by dpkg

2002-02-28 Thread Chad Miller
On Thu, Feb 28, 2002 at 03:58:42PM +0100, Bill Allombert wrote: > Is there a work around ? I can use postinst script, but how can I > handle downgrade ? {post,pre}{inst,rm} scripts receive the version number of the replaced and replacing versions as arguments, IIRC. Use 'dpkg --compare-versions'

directory permission not changed by dpkg

2002-02-28 Thread Bill Allombert
Hello developers, I would like to change the permission of a directory in a new version of my package, but it seems that when you upgrade a package, dpkg keep the old permissions on directories. Specifically /var/games/toppler is 755 root.games for now. I would like to change it to 770 root.game

Re: directory permission not changed by dpkg

2002-02-28 Thread Joey Hess
Bill Allombert wrote: > I would like to change the permission of a directory in a new > version of my package, but it seems that when you upgrade a > package, dpkg keep the old permissions on directories. That is correct. > It is correct ? on purpose ? Where can I find a good documentation > on

Re: directory permission not changed by dpkg

2002-02-28 Thread Chad Miller
On Thu, Feb 28, 2002 at 03:58:42PM +0100, Bill Allombert wrote: > Is there a work around ? I can use postinst script, but how can I > handle downgrade ? {post,pre}{inst,rm} scripts receive the version number of the replaced and replacing versions as arguments, IIRC. Use 'dpkg --compare-versions

directory permission not changed by dpkg

2002-02-28 Thread Bill Allombert
Hello developers, I would like to change the permission of a directory in a new version of my package, but it seems that when you upgrade a package, dpkg keep the old permissions on directories. Specifically /var/games/toppler is 755 root.games for now. I would like to change it to 770 root.gam