Support Questions

Find answers, ask questions, and share your expertise

start_sandbox.sh - error - Permission Denied

avatar
Expert Contributor

Hello,

I am able to run the startup_sandbox.sh .

However, when it reaches line 71 of the code, I get the followng error:

[mhon@docker01 hortonworks_hadoop]$ docker exec -t sandbox nohup su - hue -c '/bin/bash /usr/lib/tutorials/tutorials_app/run/run.sh' >/dev/nul -bash: /dev/nul: Permission denied

I look forward to hearing your advice.

Thanks,

Marcia

1 ACCEPTED SOLUTION

avatar

@ Marcia Hon

the problem seems to be incorrect spelling of "null"

/dev/nul: Permission denied


It should be changed to 


/dev/null

.

So the correct command should be as following:

docker exec -t sandbox nohup su - hue -c '/bin/bash /usr/lib/tutorials/tutorials_app/run/run.sh' > /dev/null 

.

View solution in original post

2 REPLIES 2

avatar

@ Marcia Hon

the problem seems to be incorrect spelling of "null"

/dev/nul: Permission denied


It should be changed to 


/dev/null

.

So the correct command should be as following:

docker exec -t sandbox nohup su - hue -c '/bin/bash /usr/lib/tutorials/tutorials_app/run/run.sh' > /dev/null 

.

avatar
Expert Contributor

Thanks so much jss!!! Wow, you are fast!