I currently have an AirPlay audio streaming service (Shairport) running on Raspbian on my Raspberry Pi. I have it configured to save the metadata for the songs that are played. For every song, it saves the album cover to the metadata folder. I then wrote another program in Java to read the album covers and display them.
The only problem is that when the files are created by shairport, the permissions are set so that only the shairport user can access them. I have tried using
setfacl to change the permissions but either it doesn't work or more likely I am doing something wrong.
How can I set it so that when a file is added to the folder its permissions are automatically set to others?
I have tried every solution I can find and none of them work.