gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two NSFileManager questions


From: Enrico Sersale
Subject: Two NSFileManager questions
Date: Wed, 08 Mar 2006 15:32:58 +0200

1) NSFileManager, in -_copyPath:::, when encounters a directory, tries to 
create a new destination directory with the same attributes of the source; if 
the directory is created but the attributes can't be set it skips the source 
contents, even if _proceedAccordingToHandler::::: returns YES.
I'm wondering if this is the right behaviour or if it should be considered a 
bug.
It seems to me a bit restrictive; if I'm a user and I want to make a copy in my 
home directory of an external directory for which I've read access, this should 
be allowed; in this case NSFileManager should try to change only the 
permissions but not owner and group.

2) I can't find a way to remove broken symlinks; -removeFileAtPath:: doesn't 
work in this case.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]