Script.sh generated as 0644

I’m roughly following the OSC example jupyterlab, but I’ve run into a snag where script.sh is being generated as 0644 non executable instead of 0755

Here are all the generated permissions:

[georgia@rita 4f16c961-41bf-4e05-9e73-5cfe6c2bc06e]$ ls -l
total 11
-rw-r--r-- 1 georgia admin  515 Apr  8 16:09 after.sh
-rw-r--r-- 1 georgia admin 1738 Apr  8 16:09 before.sh
-rw------- 1 georgia admin  436 Apr  8 16:12 config.py
-rw-r--r-- 1 georgia admin 4435 Apr  8 16:09 job_script_content.sh
-rw-r--r-- 1 georgia admin  530 Apr  8 16:09 job_script_options.json
-rw-r--r-- 1 georgia admin  570 Apr  8 16:13 output.log
-rw-r--r-- 1 georgia admin  352 Apr  8 16:09 script.sh
-rw-r--r-- 1 georgia admin  117 Apr  8 16:09 user_defined_context.json

Any suggestions on why this is happening?

Oh, it must be inheriting permissions from the .erb file. I’ve changed that to 0755 and it fixed the issue. Sorry!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.