Re: [pacman-dev] [PATCH] pacman-db-upgrade: set umask 022

2014-12-23 Thread Peter Wu
On Tuesday 23 December 2014 11:18:51 Allan McRae wrote: It would probably be a good idea to set umask 022 for /var/cache/pacman/archives/ as well, but that is not as severe as this issue. If there are people who actually use 'umask 027' to make their packages unreadable, what about a

Re: [pacman-dev] [PATCH] pacman-db-upgrade: set umask 022

2014-12-22 Thread Allan McRae
On 20/12/14 20:58, Peter Wu wrote: This prevents the database from becoming inaccessible for non-root users when the script was executed with a umask of 027. Signed-off-by: Peter Wu pe...@lekensteyn.nl --- Applied. Hi, It would probably be a good idea to set umask 022 for

[pacman-dev] [PATCH] pacman-db-upgrade: set umask 022

2014-12-20 Thread Peter Wu
This prevents the database from becoming inaccessible for non-root users when the script was executed with a umask of 027. Signed-off-by: Peter Wu pe...@lekensteyn.nl --- Hi, It would probably be a good idea to set umask 022 for /var/cache/pacman/archives/ as well, but that is not as severe as

Re: [pacman-dev] [PATCH] pacman-db-upgrade: set umask 022

2014-12-20 Thread Allan McRae
On 20/12/14 20:58, Peter Wu wrote: It would probably be a good idea to set umask 022 for /var/cache/pacman/archives/ as well What is that directory?

Re: [pacman-dev] [PATCH] pacman-db-upgrade: set umask 022

2014-12-20 Thread Peter Wu
On Saturday 20 December 2014 21:00:57 Allan McRae wrote: On 20/12/14 20:58, Peter Wu wrote: It would probably be a good idea to set umask 022 for /var/cache/pacman/archives/ as well What is that directory? Typo: s/archives/pkg/ -- Kind regards, Peter https://lekensteyn.nl