fix chmod/chown for debian tree
Merge pull request #540 from hg42/debian-tree-chmod-chown

fix chmod/chown for debian tree