er of a file. If you navigate to the directory giving you trouble using terminal and run 'ls -latr', you'll get a print out of both the owner and group for the directory contents. The first name listed is the owner, the second is the group. You need to ensure that the group that the owner of home/projects belongs to matches the group of your python process. You can find out the owner of your python process by running:
...and then navigating to that directory, and also running ls -latr and checking the output on your terminal.
On my OS (also Ubuntu), the python process is owned by the root user who is a member of the root group. So, I would need to run this command to ensure that the owner of home/projects is a member of the same group (root):
$ sudo chown <username>:root /home/projects
...change username to your own system username.