site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 11 Oct 2006, at 21:29, Jay A. Kreibich wrote: lacks write permission. "-f" will overwrite such a file, assuming the user has permission to grant themselves write permission. -- Graham J Lee http://www.thaesofereode.info/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Presumably it actually will go ahead iff the user has write permissions in the containing directory and (the file is owned by the user or sticky is unset). You don't need write permissions on a file to delete the file, and cp could just delete the in-the-way file in order to create its new file. This email sent to site_archiver@lists.apple.com