Wednesday, June 29, 2011

Re: "attempt to write a readonly database" with write permissions in database file and folder

Hi,
Seems selinux permissions are causing trouble. Try shutting it off and try again.
Regards,
Anoop

On 29 Jun 2011 21:03, "hectoraka" <hectoraka@gmail.com> wrote:
> Hello,
>
> I am getting the "attempt to write a readonly database" when trying to
> access the admin site. I have read that this is usually due to
> incorrect permissions but the error persists even if I make the
> database file and folder writable by all:
>
> database file:
> -rw-rw-rw-. 1 hector developers 40960 6月 29 21:55 mialbum.db
>
> folder containing the database file:
> drwxrwsrwx. 2 hector developers 4096 6月 29 21:55 db
>
> Something I am missing?
>
> Thank you,
> Hector
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment