screen add repo
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
os.system("/bin/chown root:utmp /usr/bin/screen")
|
||||
os.system("/bin/chmod 02755 /usr/bin/screen")
|
||||
os.system("/bin/chown root:utmp /run/screen")
|
||||
os.system("/bin/chmod 0755 /run/screen")
|
||||
|
||||
# suid
|
||||
os.system("/bin/chmod u+s /usr/bin/screen")
|
||||
os.system("/bin/chmod go-w /run/screen")
|
||||
Reference in New Issue
Block a user