Fix #1450 : restore setgid bit on pvemailforward binary
When calling chown on a setuid/setgid executable, the setuid/setgid bits are reset to 0. So ordering matters here. See chown(2).
This commit is contained in:
parent
dcbb4ba190
commit
db3395bb83
2
debian/rules
vendored
2
debian/rules
vendored
@ -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 {} +
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user