This is my script
#!/usr/bin/python import os print "hello world from python" os.system("echo 'hello world from bash'") os.system("umask 055") os.system("ls -alh > test")
If I run this code the permissions of file test are not set as 722 but as 600. What could be the reason?
the Umask of my shell is 0077.