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

Incorrect permissions after install #38

Open
eburgueno opened this issue May 23, 2018 · 3 comments
Open

Incorrect permissions after install #38

eburgueno opened this issue May 23, 2018 · 3 comments

Comments

@eburgueno
Copy link

After successful compilation, the ngm script is installed with incorrect permissions under /usr/bin:

$ ls -l /usr/bin | grep ngm
-rwxr-x---. 1 root root        466 May 23 14:16 ngm
-rwxrwxr-x. 1 root root   15618416 May 23 14:16 ngm-core
-rwxrwxr-x. 1 root root   14665096 May 23 14:16 ngm-core-debug
-rwxr-x---. 1 root root        483 May 23 14:16 ngm-debug
-rwxr-x---. 1 root root        472 May 23 14:16 ngm-log
-rwxrwxr-x. 1 root root   15054712 May 23 14:16 ngm-utils
-rwxrwxr-x. 1 root root   11280904 May 23 14:16 ngm-utils-debug

These should all have 755 permissions, so that all users on the system can run them.

It also affects the Docker container when run as a non-privileged user with docker run -u 1000:1000 -v etc. Singularity containers using the same set of installation instructions fail for the same reason.

@fritzsedlazeck
Copy link
Member

Did you compile it from the source code?

@eburgueno
Copy link
Author

Yes, this is when manually building the Docker container from your Dockerfile. But the steps are the same.

@mbhall88
Copy link

mbhall88 commented Nov 1, 2018

I am also having a similar issue. I am building ngm in a singularity container but am unable to run ngm from outside the container due to permissions issues.

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

3 participants