If after mounting MacOS image files or disk partitions you can not change the owner of files inside them due to you’ve got an error saying ingore ownership.
For example: After adding a new hard drive to an Xserve, you cannot remotely change permissions to the new volume using normal means.
- Using “chown” results in no error, but the owner remains the same.
- Using “chgrp” results in no error, but the group remains “unknown.”
run the next command to modify this behaviour.
$ sudo /usr/sbin/vsdbutil -a /Volumes/To_access
Where To_access would be your new hard drive’s volume name.
To understand why this error happens, you can find more information in this overview.