Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Locations disappear after creating dialup set with MoreSCF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locations disappear after creating dialup set with MoreSCF



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.