Deb use file permissions

Fix #540