PDA

View Full Version : How to get permissisions to remove directory in MAC OS X



merry
16th September 2008, 08:14
Hi all

I am working on QT4.4 on my mac intel machine..

I am trying to remove directories recursively using rmdir function, but some of the dirs are still left, i dont understand why, whether they dont have permissions or something else, and also not able to remove the root dir, infact i m login as a root user.....who have all rights and permissions

I Query earlier also, i thought my function is not correct, but its working fine for WINDOWS...I dont understand the reason why its not working in MAC.

Pls help, if anybody is having any idea about this....:(, I wil be really greatful to u all:)

merry
16th September 2008, 12:09
Hi all

Now i understand why i wont able to remove the empty folders...because it contains some hidden files like .DS_Store, rmdir functions works only when the folder is empty. Now I want to know how can i remove the hidden files.....