On Apr 1, 11:13 pm, Craig Martin <[email protected]>
wrote:
> Greg Donald wrote:
> No, I get the same permissions error.
>
> lil-loco:/rails/cem craigmartin$ touch /rails/cem/db/schema.rb
> touch: /rails/cem/db/schema.rb: Permission denied
>
> The db does exist yes. The last thing I did was to do a :prepare on the
> test db and run some tests. This may be a silly mistake on my part but
> did I miss something after running the test? Is it possible to lock the
> dev db when preparing the testing db?

You probably just ran a command as another user, and so the current
user can no longer touch that file. You should be able to sudo chown
it back to yourself (or it might be less hassle to just sudo rm it)

Fred
>
> Again, thanks for the reply.
>
> Craig
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to