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

Linux Centos #24

Closed
rampantdragon opened this issue Feb 9, 2018 · 6 comments
Closed

Linux Centos #24

rampantdragon opened this issue Feb 9, 2018 · 6 comments

Comments

@rampantdragon
Copy link

installed in postgres home dir trying to compare two schemas same db.

./pgdiff -U postgres -H localhost -D testdb -O "sslmode=disable" -S public -O "sslmode=disable" -u postgres -h localhost -d testdb -s dynapp TABLE

getting permision denied ./pgdiff.sh: Permission denied

ls -l
total 11140
-rwxrwxrwx 1 postgres postgres 6552040 Nov 17 01:42 pgdiff
-rwxrwxrwx 1 postgres postgres 2816 Feb 9 16:06 pgdiff.sh
-rwxrwxrwx 1 postgres postgres 4842856 Nov 17 01:42 pgrun
-rwxrwxrwx 1 postgres postgres 857 Nov 17 01:42 README.md

@joncrlsn
Copy link
Owner

joncrlsn commented Feb 9, 2018

That is very odd given that the permissions are 0777 for pgdiff.sh and pgdiff. Let me know what you figure out.

@rampantdragon
Copy link
Author

-bash-4.2$ ./pgdiff -V
-bash: ./pgdiff: Permission denied
-bash-4.2$ ./pgdiff.sh -V
-bash: ./pgdiff.sh: Permission denied
-bash-4.2$

@rampantdragon
Copy link
Author

strangest thing is root gets the same issue

[root@dyn-l-ma-pdb-001 pgdiff]# ./pgdiff.sh -V
-bash: ./pgdiff.sh: Permission denied
[root@dyn-l-ma-pdb-001 pgdiff]# ./pgdiff -V
-bash: ./pgdiff: Permission denied
[root@dyn-l-ma-pdb-001 pgdiff]#

@joncrlsn
Copy link
Owner

joncrlsn commented Feb 9, 2018

That is really strange. It almost has to be something wacky with your Linux.

@rampantdragon
Copy link
Author

I think I might see problem is installing go a requirement?

@joncrlsn
Copy link
Owner

No, it's not a requirement to install go if you use one of the released binaries.

@joncrlsn joncrlsn closed this as completed Apr 2, 2018
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