philip.bar...@impaerospace.com wrote: > I tried editing django/core/files/storage.py to output the results of > an os.access() check to show that I did have write access to the image > file immediately before attempting the os.remove. It showed that I had > write access to the image file. >
You user account or the user account the web server is running as? They may not be the same thing depending on your setup. Also remember that removal requires write permissions on the directory, removing a file is removing it /from a directory/, so you need write permission on the directory the file is in as you're changing the directory to remove the file, not changing the file's contents (which is what write access to the file itself is about). -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.