Change permission to the directory
- chmod g+w filename (give write permission to group to the filename)
- chmod -R g+w directory (give write permission to group to dir and all files inside it)
Source: https://www.pluralsight.com/blog/it-ops/linux-file-permissions