0
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.
I hadn't thought of editing shairports files to do that. What I ended up doing was writing a bash script that listened for files to be added and then changing the permissions. Not sure if thats a good way to do it but it works – dabecks – 2015-01-31T20:15:55.300