[pve-devel] applied: [PATCH manager 1/2] Fix #1450 : restore setgid bit on pvemailforward binary
Wolfgang Bumiller
w.bumiller at proxmox.com
Wed Jul 19 09:40:17 CEST 2017
applied
On Tue, Jul 18, 2017 at 05:37:27PM +0200, Emmanuel Kasper wrote:
> When calling chown on a setuid/setgid executable, the
> setuid/setgid bits are reset to 0. So ordering matters
> here. See chown(2).
> ---
> debian/rules | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/debian/rules b/debian/rules
> index 9ce61388..dc9375ab 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -11,8 +11,8 @@ override_dh_usrlocal:
>
> override_dh_fixperms:
> dh_fixperms
> - find debian -name 'pvemailforward' -exec chmod 2755 {} +
> find debian -name 'pvemailforward' -exec chown root:www-data {} +
> + find debian -name 'pvemailforward' -exec chmod 2755 {} +
> find debian -type d -name 'pveproxy' -exec chown www-data:www-data {} +
> find debian -type d -name 'pveproxy' -exec chmod 700 {} +
>
> --
> 2.11.0
More information about the pve-devel
mailing list