I copied several folders from my TM backup (made in El Capitan) to the current system (Sierra), (I also have different username than on the system where I made the backup if that could matter) and now their contents can be changed only via sudo
.
I tried running sudo chown -R <my_name> <folder>
— no effect at all.
Also tried running find . -exec sudo chown <my_name> "{}" \;
from them — again no luck.
Also tried find . -exec sudo chmod u+rwx "{}" \;
, sudo chmod -R u+rwx <folder>
. Nothing changed anything.
These folders and all their contents show up in Finder as Read&Write for my user, and they also do not have Locked property set. Somehow this is not true in practice.
What can I do to fix this insanity?
I have found only one thing that actually solves it — copy the whole folder, delete old one with sudo
, rename it back. But it's impractical for huge folders because it's slow and hurts SSD life.