• 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
Owner unknown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Owner unknown


  • Subject: Owner unknown
  • From: Lorenzo Puleo <email@hidden>
  • Date: Mon, 27 Jan 2003 18:34:22 +0100

Hi,
I have two Mac connected throught an ethernet cable.
I log is on the PB as "A".
I log in on the G4 as "B".
I connect from PB to G4 as "B", and I mount the disk.
I copy a file "x" from G4 to G4 from the PB keyboard, in the Finder.
Then, from the PB I ask "Get Info" in the Finder, for the file "x" just
created on the G4, and the OwnerShip panel shows me a *blank* Owner. If I
ask "Get Info" from the G4 I see the right Owner: "B".

And If I get, from the PB, the NSDictionary of the file "x" on G4:

destDict = [manager fileAttributesAtPath:dest traverseLink:NO];
destOwner = [destDict objectForKey:@"NSFileOwnerAccountName"];

destOwner is "Unknown".

Is it a bug in MacOS X?
Did I make something wrong?

Also it seems that I cannot set the attributes, dates and permissions on
that file, either using setDictionary: Cocoa API, and the Carbon API
FSSetCatalogInfo. I will investigate better.

Any idea?
Thank you.
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
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.

  • Prev by Date: Re: Scrolling an NSMatrix with 1000+ imageCells
  • Next by Date: Re: Making an NSMenu "small"?
  • Previous by thread: Re: Scrolling an NSMatrix with 1000+ imageCells
  • Next by thread: Database access in Cocoa program
  • Index(es):
    • Date
    • Thread