Skip to content
Snippets Groups Projects
Commit ae219fa9 authored by Shaman Narayanasamy's avatar Shaman Narayanasamy
Browse files

Change permission style such that it doens't make all files executable

parent 69abf05d
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ def yes_or_no(question):
def format_command(cmd, dir):
# get group id and username of the user
username = getpass.getuser()
return ' /bin/bash -c "{c} ; useradd {u} && chown -R {u} {d} && chmod -R 755 {d}"'.format(c=cmd, u=username, d=dir)
return ' /bin/bash -c "{c} ; useradd {u} && chown -R {u} {d} && chmod -R u+Xrw,g+rw,o+r {d}"'.format(c=cmd, u=username, d=dir)
def init(args):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment