I had a time machine backup on an external drive, but since having the computer repaired (new hard drive, updated OS to 10.12 - Sierra) many of the folders on the external drive are now locked with the red "-" icon showing in Finder. Before the update, I was always able to access the files there.
This is a very large volume and attempting to unlock through Finder is prohibitive, so I attempted to unlock using:
sudo chflags -R nouchg <path>
sudo chflags -R noschg <path>
After finding no results, ie, still cannot read the contents, cannot chown or chmod even using sudo, I inspected the flags on this and other folders that are locked using:
ls -lO
However, this shows "-" in the immutable field, ie, the immutable bit is not set.
So how is it that the folders are locked, yet the immutable bit is not set on those folders?
And how to unlock them?