I have a mp3 player script that scans the content of an 'mp3' directory to write the file names and paths to an xml playlist.
For it to write properly the xml file needs a permission of 777. Set set the permission to 777 and it takes the mode ok. Then when I trigger the script to write to the playlist the xml file get changes to 644 and the playlist doesn't write.
This is on a linux godaddy server. The script works great on hundreds of other servers.
Need help fixing this.