Re: Wrong result with createDirectoryAtPath:attributes:
Re: Wrong result with createDirectoryAtPath:attributes:
- Subject: Re: Wrong result with createDirectoryAtPath:attributes:
- From: Nat! <email@hidden>
- Date: Sun, 14 Dec 2003 21:57:43 +0100
Am 14.12.2003 um 21:38 schrieb Stiphane Sudre:
BUT if I then call:
chown(myPath,userID_,groupID_); // user ID= 501 groupID_= 20
the folder owner is perfectly correct.
So I have 2 ideas currently. Either these Foundation APIs are
completely buggy (I doubt it's the case)
Yeah highly unlikely :) :)
or the documentation is completely unclear about what attributes are
needed.
Any other idea or suggestion?
Well a suggestion would be to read the attributes of a folder and check
out what keys are available and then set all of them. Will this work ?
I wouldn't bet on it. Probably createDirectoryAtPath ist just a wrapper
for creat without any chown/chgrp calls.
Just my unenlightned suggestions, but you asked for it...
Ciao
Nat!
I act professionally, when I get paid for it. - Unknown
_______________________________________________
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.