Fix e5ad44c2 merge.

parent cc3c6c7a
...@@ -516,7 +516,7 @@ class Partition(object): ...@@ -516,7 +516,7 @@ class Partition(object):
if alter_user: if alter_user:
owner_pw = pwd.getpwnam(owner.name) owner_pw = pwd.getpwnam(owner.name)
chownDirectory(self.path, owner_pw.pw_uid, owner_pw.pw_gid) chownDirectory(self.path, owner_pw.pw_uid, owner_pw.pw_gid)
os.chmod(self.path, 0o755) os.chmod(self.path, 0o750)
class User(object): class User(object):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment