I am needing to clear the contents of a folder before my app launches. As the permissions are normally -rw-rw-rw i can't chmod it, it seems...but I can remove it. But the documentation reads, that it will also remove the directory whose sub-tree was removed. How can I ensure that this won't happen?
I am needing to clear the contents of a folder before my app launches. As the permissions are normally
-rw-rw-rw
i can't chmod it, it seems...but I can remove it. But the documentation reads, that it will also remove the directory whose sub-tree was removed. How can I ensure that this won't happen?Kind regards, Ingwie