Use the root-private publication filesystem for Git askpass
This commit is contained in:
1 parent
2615cf113d
commit
6314b6a6f6
1 file changed
+1
-1
@@ -126,7 +126,7 @@ def publish(args):
|
||||
"Bundle must be a root-owned reviewed regular file without shared write access")
|
||||
root_directory(args.bundle.parent)
|
||||
os.umask(0o077)
|
||||
with tempfile.TemporaryDirectory(prefix="fb-gitea-push-", dir="/run") as tmp:
|
||||
with tempfile.TemporaryDirectory(prefix="fb-gitea-push-", dir=args.bundle.parent) as tmp:
|
||||
directory = Path(tmp)
|
||||
source = directory / "source.git"
|
||||
before = check_bundle(args, source)
|
||||
|
||||
Reference in new issue
Block a user