Archive

Posts Tagged ‘find’

when trying to remove directory I get the following error: cannot determine if this is an ancestor of the current working directory events

April 17th, 2009 No comments

I have solaris 10 and I have test user, I have then direcotry created as events, when I do rm -r events I get the following error:
rm: cannot determine if this is an ancestor of the current working directory events
rm -rf does not even show me anything but directory is not being removed

One of the solutions that I’ve found in my case was to change user to root even though the owner of the diretories or files is test, of try the following comand:
find . -depth -exec rmdir {} \;

Categories: 10, Solaris Tags: , ,

Powered by WP Robot

Stop SOPAPowered by Yahoo! Answers