File '%s' cannot be read in logs (no filename expansion)
Hi,
I tried searching around "File '%s' cannot be read" as an error, but they are such common terms, and the %s gets turned into just s - that I couldn't find anything. My apologies if this is a common question or answered elsewhere already.
Installation is Serviio 1.01 on Debian Wheezy, patched to current from the official repositories. Generally, this all works fine.
The message "File '%s' cannot be read" is appearing in my log file, however because the %s is not expanded into a filename, I have been unable to track down what file it is. Serviio runs as its own user (also serviio), and all the files in the directories is is permitted to index are all owned by the group serviio, of which that user is a member. All files and directories have a group permission of at least r-- (most are rw for the serviio group), and there is a cron script that runs every 5 minutes that uses find to locate any new files copied in from any user, and update the rights and ownership to rw- and serviio group.
The full message is:
2012-11-04 20:47:49,264 WARN [LibraryAdditionsCheckerThread] File '%s' cannot be read, probably due to access rights
I know it's just a warning, but I would like to know what file it can't read, so I can sort it out! A full debug log didn't help me (there are so many files, I'm guessing a library scan floods the entire log space, because there is no record of any entry with %s in it when I grep the log files produced after restarting and initiating a library scan from the console)
Many thanks for any assistance
I tried searching around "File '%s' cannot be read" as an error, but they are such common terms, and the %s gets turned into just s - that I couldn't find anything. My apologies if this is a common question or answered elsewhere already.
Installation is Serviio 1.01 on Debian Wheezy, patched to current from the official repositories. Generally, this all works fine.
The message "File '%s' cannot be read" is appearing in my log file, however because the %s is not expanded into a filename, I have been unable to track down what file it is. Serviio runs as its own user (also serviio), and all the files in the directories is is permitted to index are all owned by the group serviio, of which that user is a member. All files and directories have a group permission of at least r-- (most are rw for the serviio group), and there is a cron script that runs every 5 minutes that uses find to locate any new files copied in from any user, and update the rights and ownership to rw- and serviio group.
The full message is:
2012-11-04 20:47:49,264 WARN [LibraryAdditionsCheckerThread] File '%s' cannot be read, probably due to access rights
I know it's just a warning, but I would like to know what file it can't read, so I can sort it out! A full debug log didn't help me (there are so many files, I'm guessing a library scan floods the entire log space, because there is no record of any entry with %s in it when I grep the log files produced after restarting and initiating a library scan from the console)
Many thanks for any assistance