slapos format: Don't chown partitions.

Correct fix.
parent 990b188e
...@@ -537,7 +537,7 @@ class Partition(object): ...@@ -537,7 +537,7 @@ class Partition(object):
os.mkdir(self.path, 0o750) os.mkdir(self.path, 0o750)
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) os.chown(self.path, owner_pw.pw_uid, owner_pw.pw_gid)
os.chmod(self.path, 0o750) os.chmod(self.path, 0o750)
......
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