Files
2018-12-23 22:01:53 +03:00

16 lines
477 B
Python
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#/usr/bin/python
# -*- coding: utf-8 -*-
import os
files = ("VBoxHeadless", "VBoxNetAdpCtl", "VBoxNetDHCP", "VBoxSDL", "VBoxNetNAT", "VirtualBoxVM")
vboxgroup = "vboxusers"
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
for _file in files:
f = "/usr/lib/virtualbox/%s" % _file
os.system("/bin/chown :%s %s" % (vboxgroup, f))
os.chmod(f, 04755)
#VirtualBox 6.0.0 sürümde slindi VirtualBoxVM eklendi SetUID hatası verdiriyor