rename check? And alias...
rename check? And alias...
- Subject: rename check? And alias...
- From: Ondra Cada <email@hidden>
- Date: Fri, 5 May 2006 04:53:52 +0200
Hello,
sorry if this is a trivial question, but is there a good check
whether a file can be *renamed*?
Although in practice NSFileManager's isDeletableFileAtPath: seems to
work pretty well, I somewhat fear with HFS+ attributes and ACLs and
whatsnot there might perhaps be a situation when a file is deletable,
but not renameable (or vice versa)... perhaps I've looked in a bad
way, but I haven't been able to find a doc which would explicitly
cover this?
(Oh, by the way... if you happen to have at hand an example code to
make an alias, preferrably as an NSFileManager category, I'd be
grateful if you can send /a link/ to me. Though, I haven't checked
cocoabuilder/google/Carbon docs yet, so it is quite possible this
answer can be found easily; in that case please don't bother and I do
apologize: just that since I am writing anyway, I though I may ask,
for I know I'll need to make aliases tomorrow when the other tasks
are solved :))
Thanks for any advice,
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden