> os.path.exists fails to see the directory as well.

This is strange. Are you sure you are referencing the right directory (it
happens...)? The only other reason I can think of is your program or apache 
(or
both) running with mount namepsace on /tmp.

That said:

> When it creates a new tile cache it changes the UID and GID to the apache 
user (on Fedora) and also gives everyone access to the directory, e.g. 
permissions are rwxrwxrwx.

Remember you need write permission on the *parent* directory to remove a 
file
inside it. E.g.: to remove `a/b` you need write permission on `a` 
(permissions
on `b` don't matter, in this case).

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3c6c9f15-0aef-4c9c-829a-7cc550d54ca8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to