diff --git a/build-tools/stx/build-pkgs b/build-tools/stx/build-pkgs index fc73c2bc..8d644746 100755 --- a/build-tools/stx/build-pkgs +++ b/build-tools/stx/build-pkgs @@ -1339,7 +1339,7 @@ class BuildController(): stamp_dir = os.path.join(os.environ.get('MY_WORKSPACE'), build_type, 'stamp') os.makedirs(stamp_dir, exist_ok=True) dsc_stamp = '.'.join([os.path.basename(dsc_file), checksum, state]) - os.mknod(os.path.join(stamp_dir, dsc_stamp)) + os.mknod(os.path.join(stamp_dir, dsc_stamp), 0o666) except Exception as e: logger.error(str(e)) logger.error("Failed to create stamp(%s) for %s", state, pkg_dir) diff --git a/build-tools/stx/debrepack.py b/build-tools/stx/debrepack.py index b7fc7ac0..c4fb5707 100755 --- a/build-tools/stx/debrepack.py +++ b/build-tools/stx/debrepack.py @@ -602,7 +602,7 @@ class Parser(): series_file = os.path.join(self.pkginfo["srcdir"], "debian/patches/series") if not os.path.isdir(patches_folder): os.mkdir(patches_folder) - os.mknod(series_file) + os.mknod(series_file, 0o666) pwd = os.getcwd() os.chdir(self.pkginfo["srcdir"])