I have run into many permissions problems installing packages in 16.04. I install them using sudo, but then normal users cannot read the files in the package.
So I ran a simple test: I created a directory using sudo in 14.04, and looked at the permissions:
sudo mkdir test_14_04
ls -ld test_14_04/
#returns: drwxr-xr-x 2 root root 4096 Jan 3 05:57 test_14_04/
Then I did the same thing in 16.04, but instead I get:
#returns: drwxr-x--- 2 root root 4096 Jan 3 06:00 test_16_04/
As you can see, the default permission is world read in 14.04 but not in 16.04. So this may be the problem with the sudo-installed package permissions.
How can I fix this?
PS:
My 16.04 Ubuntu version is:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
and my 14.04 version is:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty