Bladeren bron

Explicitly set permissions for debian control directory

rdb 16 jaren geleden
bovenliggende
commit
66626a1c34
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      makepanda/makepanda.py

+ 1 - 1
makepanda/makepanda.py

@@ -4655,7 +4655,7 @@ def MakeInstallerLinux():
         else:
         else:
           txt = INSTALLER_DEB_FILE[1:]
           txt = INSTALLER_DEB_FILE[1:]
         txt = txt.replace("VERSION",str(VERSION)).replace("PYTHONV",PYTHONV).replace("ARCH",ARCH).replace("PV",PV)
         txt = txt.replace("VERSION",str(VERSION)).replace("PYTHONV",PYTHONV).replace("ARCH",ARCH).replace("PV",PV)
-        oscmd("mkdir -p linuxroot/DEBIAN")
+        oscmd("mkdir --mode=0755 -p linuxroot/DEBIAN")
         oscmd("cd linuxroot ; (find usr -type f -exec md5sum {} \;) >  DEBIAN/md5sums")
         oscmd("cd linuxroot ; (find usr -type f -exec md5sum {} \;) >  DEBIAN/md5sums")
         if (not RUNTIME):
         if (not RUNTIME):
           oscmd("cd linuxroot ; (find etc -type f -exec md5sum {} \;) >> DEBIAN/md5sums")
           oscmd("cd linuxroot ; (find etc -type f -exec md5sum {} \;) >> DEBIAN/md5sums")