2010-09-14, 03:53
Ok, changes complete. Let me know if there are any problems. I will be committing this to stable before moving on with other mythicalLibrarian activities. Please test this new option.
Yeah... mythicalLibrarian even denies Root now if it is a mythtv file. Accommodations were made for --scan mode as well. It will work if you type the --scan command like normal and then just simply put --BypassPermissionsCheck at the end.
Let me know if there are any problems. People tend to either fix their problems and not tell me. need to know when an issue is no longer an issue and what resolved it, or at least what you think resolved it.
Code:
root@XBMC-live:~/.mythicalLibrarian/mythicalSetup# echo woot >./test
root@XBMC-live:~/.mythicalLibrarian/mythicalSetup# chown mythtv ./test
root@XBMC-live:~/.mythicalLibrarian/mythicalSetup# mythicalLibrarian /root/.mythicalLibrarian/mythicalSetup/test "the" "the"
Revision 581 Mon Sep 13 20:45:57 CDT 2010
Accessing MythTV DataBase:
RECSTART: DATE:
PROGRAMID: ShowCategory:
PLOT:
FUZZY LOGIC SHOW NAME: The End of the Year Show ID: 70667
DATABASE IS MAINTAINED. TIME IS:1284429781 NEXT UPDATE IS:1284498368
agrep: 4 words match within 3 errors
COULD NOT MATCH AIRDATE. FUZZY LOGIC Exx NUMBER:1
TOTAL MATCHES:32 TOTAL VERIFIED FUZZY ERRORS:0
EPISODE:1998 ABSOLUTE NUMBER:1 S01E01
JOB: mythicalLibrarian '/root/.mythicalLibrarian/mythicalSetup/test' 'the' 'the'
TARGET SET:/root/.mythicalLibrarian/mythicalSetup/Episodes/The End of the Year Show/Season 1/The End of the Year Show S01E01 (1998)
FILE NAME EXISTS. FILE WILL BE KNOWN AS: The End of the Year Show S01E01 (1998)-2
########################################################################
############################## ERROR #################################
########################################################################
USER NAME:root ATTEMPTED TO RENAME A MYTHTV OWNED FILE
mythicalLibrarian HAS PREVENTED THIS UNAUTHORIZED FILE ACTION
THIS IS A SAFETY FEATURE TO PRESERVE FILE PERMISSIONS.
PLEASE RUN THE FOLLOWING TO SET PROPER PERMISSIONS WHEN RENAMING FILES:
sudo su mythtv
mythicalLibrarian "/root/.mythicalLibrarian/mythicalSetup/test" "the" "the"
OR AT YOUR OWN RISK BYPASS THIS CHECK BY ADDING --BypassPermissionsCheck
AT THE END OF THE LINE YOU JUST RAN.
Done.
FILE SYSTEM ERROR:PermissionErrorWhileMoving
root@XBMC-live:~/.mythicalLibrarian/mythicalSetup#
Yeah... mythicalLibrarian even denies Root now if it is a mythtv file. Accommodations were made for --scan mode as well. It will work if you type the --scan command like normal and then just simply put --BypassPermissionsCheck at the end.
Let me know if there are any problems. People tend to either fix their problems and not tell me. need to know when an issue is no longer an issue and what resolved it, or at least what you think resolved it.