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

Tool files are copied without execute bit #341

Open
natefoo opened this issue Nov 3, 2023 · 0 comments
Open

Tool files are copied without execute bit #341

natefoo opened this issue Nov 3, 2023 · 0 comments

Comments

@natefoo
Copy link
Member

natefoo commented Nov 3, 2023

Some tools rely on tool files being executable, but when Pulsar transfers them, they are written without the execute bit set, and the tool fails. For example, toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_grep_tool/1.1.0:

% ls -l /cvmfs/main.galaxyproject.org/shed_tools/toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/37e1eb05b1b4/text_processing/ansi2html.sh
-rwxr-xr-x. 1 g2main G-803372 11886 Mar  1  2016 /cvmfs/main.galaxyproject.org/shed_tools/toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/37e1eb05b1b4/text_processing/ansi2html.sh*
% ls -l /jetstream2/scratch/main/jobs/53425066/tool_files/ansi2html.sh
-rw-r--r-- 1 g2main G-803372 11886 Nov  3 00:44 /jetstream2/scratch/main/jobs/53425066/tool_files/ansi2html.sh

Which results in the error:

/jetstream2/scratch/main/jobs/53425066/tool_script.sh: line 23: /jetstream2/scratch/main/jobs/53425066/tool_files/ansi2html.sh: Permission denied
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

1 participant