Re: Locations disappear after creating dialup set with MoreSCF
Re: Locations disappear after creating dialup set with MoreSCF
- Subject: Re: Locations disappear after creating dialup set with MoreSCF
- From: dreamflask <email@hidden>
- Date: Sun, 10 Aug 2003 15:24:10 -0400
Hi again everyone,
Sorry for the double posting.
I've found QISA (
http://developer.apple.com/samplecode/Sample_Code/Networking/QISA.htm )
and have solved all of the problems with my application.
I'm almost positive the main problem I was having was the umask problem:
// SCF requires that the EUID be 0 in order to open the database
// with the lock held, and to commit changes. Also, if you
// commit changes with a 077 umask (which was set that way by
// MoreSecDestroyInheritedEnvironment), bad things happen
// (non-privileged programs can no longer read the prefs!), so we
// have to reset umask to the default before committing changes.
I would like to thank Quinn and the rest of DTS for QISA!
Regards,
David
--
David Garcea
Software Development Engineer
Fine Point Technologies, Inc.
90 John Street, Suite 704
New York, NY 10038
email: email@hidden
telephone: +1 (212) 962-7410
fax: +1 (212) 962-7404
web:
http://www.finepoint.com
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.