I have a MythTV backend setup with videos also transcoded to a directory for streaming to my Roku frontend. A week ago, the backend had an issue that caused the hard disk to fill up, which borked a bunch of things up. I've since repaired the damage (and learned a lot about log size settings for logrotate.d). Anyway, my last problem is that a script I wrote to compare the files in the transcoded directory to the MythTV base directory and delete files no longer relevent doesn't work anymore. I get the following error when run by any user, including root:
Code:
bash: ./roku-autoexpire.sh: /bin/bash: bad interpreter: Permission denied
The script worked fine before the hard disk fill, but now I can't seem to get it to work. Both the original MythTV partition and the streaming partition are XFS. Here's the pertinent lines from fstab:
Code:
/dev/sdb1 /var/www/mythroku xfs defaults,auto,grpid,exec,user 0 0
/dev/sdc1 /mnt/mythtv xfs defaults,exec,user 0 0
Permissions for the directories are the following:
Code:
drwxrwxr-x 2 mythtv mythtv 16384 2010-12-13 19:21 /var/www/mythroku
drwxrwxr-x 2 mythtv mythtv 20K 2010-12-13 20:13 /mnt/mythtv
Any ideas on where to begin? I tried fiddling with the mount options for the partition, but that didn't seem to solve the problem.