Re: copyfile(3) copies the posix "owner" for *some* files only
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 2010 Jul 24, at 23:40, Michael Smith wrote:
Who are you copying as? Only root can assign ownership (as opposed to taking ownership, which is intrinsic for new files, and can be granted with an ACL).
I believe I am copying as root, because the tool I've created is based on Apple's BetterAuthorizationSample, and usually asks the user for authentication. But BetterAuthorizationSample is very complicated and I'm not 100% sure. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jerry Krinock