Open rottegift opened 8 years ago
If you clone a snapshot of the dataset above and the clone has com.apple.ignoreowner=off, you can finder copy the subdirectory, assuming you have the correct permissions.
Stalled finder copies from source dataset, when zfs set com.apple.ignoreowner=off sourcedataset: one woke up and started copying, two stayed stalled. Dunno why.
Cancelling the unstalled copy unstalls a different stalled copy (but not all stalled copies).
Couple observations:
A: The data that you create in (3) will appear to normal users as being owned by them.
However, superuser sees the objects as being owned by the users in (3), depending on who last changed ownership (for example, the user who created the file or directory under the subdirectory).
By contrast, hfs+ noowner mounts show superuser _unknown:_unknown.
B: This also affects rsync, cp, and so forth; they will stall when run as a normal user, but succeed if run as root.
C: drag and drop of the data to an HFS+ filesystem mounted with noowners succeeds (creating _unknown:_unknown ownerships, from root's perspective).
The stall is the most important thing to resolve here.
Probably we also should do what HFS+ does and store _unknown:_unknown whenever ownership is set on an object while com.apple.ignoreowner=on.