So, I had just flat out erased my Time Capsules 2TB drive and began running a sync script I wrote alongside a Time Machine Backup. They both have been running for over a day without a hitch, but out of no where I started seeing problems with my script. First, I was denied access to delete one of the folders on my drive (I had to force remove the folder in the terminal). Next, my script failed as a whole do to the following error:
rsync: ERROR: cannot stat destination "destination folder on Time Capsule": Permission denied (13)
Absolutely no idea why. I went into Volumes via the terminal and notice 2 things. First, I had two instances of my Time Machine's HDD. One named normally and the other with a notated -1 after it (say TimeCapsuleHDD and TimeCapsuleHDD-1). If that wasn't strange enough, the owner for the TimeCapsuleHDD was root:wheel with drwx------ permissions. The owner of TimeCapsuleHDD-1 was MyUserName:staff with drwx------ permissions. I attempted to change the TimeCapsuleHDD permissions (which is where my sync apps are writing to) via chown and chmod 755 without it effecting anything. I also attempted to specify chown MyUserName:staff without success. Does anyone know what the cause of this is? I'm now desperately zeroing out my drive hoping to regain proper possession. I couldn't even sudo cd into it without actually logging in as root. If this does happen again, I would love to learn how to correct it. I did read that this may be do to issues with ACL. The worst part is, I had a permissions issue on my new 2013 iMac the other night in which I had to recover install Mountain Lion to correct the randomly caused issues (I wasn't able to create a new account on my computer as my permissions were denied).