MillmoorRon wrote: > Yes, that seems to work. > > Thanks! > > One other (slightly related) issue I'm having is that after creating a > new SQL Playlist or Custom Browse menu through the web interface I find > that the owner of the file (server is on Ubuntu) is 'squeezeboxserver' > and that only the owner has write permissions. I tend to edit these > files in a text editor (on a different Windows PC) rather than in the > web interface as it is easier to see the whole file. > > Is there any way to tweak it so that the owner is 'nobody' or write > permission is added for all? > I don't want to add any code in the plugins to handle this as they have to work on all operating systems. But the possible solutions I can see is: - Setup a default umask for the squeezeboxserver user which allows everyone to write, just note that this will affect all files created by squeezeboxserver user and not just the Custom Browse/SQL Playlist configuration files. - Setup a background cron job that modifies the permissions once a minute one the files in the Custom Browse and SQL Playlist configuration directories. - If the files are mounted via Samba and edited on a Windows PC, the best solution is probably to handle it in the samba configuration on the Linux machine.
All the above solutions are more about Linux than my plugins, I just wanted to give you a few clues so you know what to search for. - ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=94854 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
