Skip to content

fix permission denied#2

Merged
Meinersbur merged 1 commit intoMeinersbur:cmakefrom
tjingrant:cmake
May 24, 2018
Merged

fix permission denied#2
Meinersbur merged 1 commit intoMeinersbur:cmakefrom
tjingrant:cmake

Conversation

@tjingrant
Copy link
Copy Markdown

Perform chmod +x to codegen_test.sh.in, otherwise we have:

Start 6: codegen_test
Process not started
 /home/.../isl/codegen_test.sh
[permission denied]
6/6 Test #6: codegen_test .....................***Not Run   0.00 sec

@Meinersbur
Copy link
Copy Markdown
Owner

Thank you. Is setting the executable bit for codegen_test.sh.i sufficient? At the end, it's the file generated from it will be executed.

@tjingrant
Copy link
Copy Markdown
Author

I can quote Brad King on this thread (https://itk.org/Bug/bug_relationship_graph.php?bug_id=10126&graph=relation):

The configure_file() command copies/edits a file from some source to a destination. It copies the permissions from the source location.
--

Also, it works in our environment (RHEL + PowerPC).

@Meinersbur Meinersbur merged commit 0d58e25 into Meinersbur:cmake May 24, 2018
@Meinersbur
Copy link
Copy Markdown
Owner

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants