Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Equivalent to access() in a setuid process?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Equivalent to access() in a setuid process?




On Dec 2, 2005, at 3:07 PM, Steve Johnson wrote:

Thanks for your reply Eric.

What I'm really trying to do is have a server be able to tell the client
that it (the server) has writeable access to a directory so that the
client can use that directory as a "drop folder". The server needs to
be able to a) remove items from the drop folder after they're processed,
and b) write a log file to that directory. None of this actually
happens until the user actually drops something in the folder. I want
to preflight all of this when the drop folder is established, rather
than having to wait until the first time it is used.

I don't have any great advice for you, as I'm not very knowledgeable about this part of the filesystem API. However, I would suggest that you repost your question about whether it's possible to use access() in the way you want to the darwin-dev mailing list; you're much more likely to find someone knowledgeable about it on that list.


-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >RE: Equivalent to access() in a setuid process? (From: "Steve Johnson" <email@hidden>)



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.