• 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: NSFileManager: can't set group ID on 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager: can't set group ID on 10.4


  • Subject: Re: NSFileManager: can't set group ID on 10.4
  • From: Sidney San Martín <email@hidden>
  • Date: Thu, 26 Mar 2009 23:26:31 -0400

I'm using +[NSFileManager defaultManager].


On Mar 26, 2009, at 10:35 PM, Stephen J. Butler wrote:

On Thu, Mar 26, 2009 at 6:56 PM, Sidney San Martín <email@hidden> wrote:
I'm using -[NSFileManager changeFileAttributes:atPath:] to change a file's
user ID, group ID, and POSIX permissions. On my 10.5.6 machine, this works
flawlessly, but on my 10.4.11 machine the group ID
(NSFileGroupOwnerAccountID) does not change. It's the same executable,
running as root in both cases.


I haven't had a chance to do extensive testing yet, but want to put the
question out there: why might this happen?

How are you creating the NSFileManager? +[NSFileManager defaultManager] or alloc/init?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSFileManager: can't set group ID on 10.4
      • From: Sidney San Martín <email@hidden>
References: 
 >NSFileManager: can't set group ID on 10.4 (From: Sidney San Martín <email@hidden>)
 >Re: NSFileManager: can't set group ID on 10.4 (From: "Stephen J. Butler" <email@hidden>)

  • Prev by Date: NSKeyedUnarchiver "incomprehensible archive" error
  • Next by Date: Re: Shortcut handling in different keyboard layouts
  • Previous by thread: Re: NSFileManager: can't set group ID on 10.4
  • Next by thread: Re: NSFileManager: can't set group ID on 10.4
  • Index(es):
    • Date
    • Thread