Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I rename a file?



(indirectly) the Finder uses the FSPermissionInfo.userAccess field returned from FSGetCatalogInfo and friends on the parent of the file plus a locked check on the file itself. The userAccess of the parent is consulted because, of course, renaming an item is like adding and removing a child in the parent container and the user must be able to write to the parent container in order to make such changes.

HTH,
\pat

On Sep 30, 2005, at 9:38 AM, Rosyna wrote:

What's the Carbon File Manager way to determine if I can rename a file
without actually trying to rename it?


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Can I rename a file? (From: Laurence Harris <email@hidden>)
 >Re: Can I rename a file? (From: Rosyna <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.