• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: user id unknown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: user id unknown


  • Subject: Re: user id unknown
  • From: Lorenzo Puleo <email@hidden>
  • Date: Tue, 04 Mar 2003 23:05:23 +0100

Hi Dave,
glad to know someone else had the same question.
I use the routine Apple grants on its web site called
FSCopyObject. I have to say, it has *a lot of bugs*. Warning.

Anyway, it creates the file using
FSCreateFileUnicode
then it copys the forks, then it sets the CatalogInfo with
FSSetCatalogInfo

So, there are no hidden procedures.
I think it copys the user id to the destination file, so since that user id
doen't exist on the destination machine, the Finder Get Info panel reports a
blank Owner, and the file could not be opened anymore. It seems to be busy.
You have to change the owner by hand, in order to use it.

Anyway, I am totally disappointed about the assistance Apple is granting to
the developers. I can understand MacOS X is still young (I love Apple), and
thus it has some bug, but I would like anyway to find a workaround to, think
about, a simple copy file procedure... Amazing!

Please let me know.

--
Lorenzo Puleo
mailto:email@hidden

> From: David Feldman <email@hidden>
> Date: Tue, 4 Mar 2003 16:36:30 -0500
> To: Lorenzo Puleo <email@hidden>
> Cc: <email@hidden>
> Subject: Re: user id unknown
>
> I know I'm merging two conversation topics here (and I suppose you and
> I are sort of competitors), but what routine do you use for
> programmatically copying files, and how does it work for you?
>
> --Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: user id unknown
      • From: David Feldman <email@hidden>
    • Re: user id unknown
      • From: publiclook <email@hidden>
    • Re: user id unknown
      • From: email@hidden
References: 
 >Re: user id unknown (From: David Feldman <email@hidden>)

  • Prev by Date: Re: user id unknown
  • Next by Date: Re: (newbie) drawer problem
  • Previous by thread: Re: user id unknown
  • Next by thread: Re: user id unknown
  • Index(es):
    • Date
    • Thread