Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script and file system permissions #11

Closed
jacobrask opened this issue Oct 31, 2012 · 1 comment
Closed

Install script and file system permissions #11

jacobrask opened this issue Oct 31, 2012 · 1 comment

Comments

@jacobrask
Copy link
Collaborator

Trying to run the install script (with sudo or as root) resulted in the error could not change directory to "/home/jacobr/Code/critic", originating from here. When running the install script from a directory where the postgres user had access, it worked fine. I am running Ubuntu 12.10.

Is there anything the install script can do about this?

@jensl
Copy link
Owner

jensl commented Oct 31, 2012

Ah. The logical approach ought to be to move the database schema files (*.sql and *.pgsql) to a temporary world-accessible location before running "psql -f FILE". Changing installation/database.py to do this should be easy enough.

@jensl jensl closed this as completed in 3fbb64e Nov 6, 2012
lukaszzek pushed a commit to lukaszzek/critic that referenced this issue Jun 25, 2018
Drop reviews when upstream branch disappears
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants