diff --git a/deploy/build_env/manylinux2010/Dockerfile b/deploy/build_env/manylinux2010/Dockerfile
index c9a29597825c7043bb7cc260618876d476942898..a94863c1dab73c515fe26362bc6877f5214d5347 100644
--- a/deploy/build_env/manylinux2010/Dockerfile
+++ b/deploy/build_env/manylinux2010/Dockerfile
@@ -7,4 +7,8 @@ RUN yum update -y && yum install -y golang wget zlib-devel
 ADD install_curl.sh install_curl.sh
 RUN ./install_curl.sh /curl
 
-ADD build.sh /bin/build.sh
\ No newline at end of file
+ADD build.sh /bin/build.sh
+
+RUN chmod og+rwX -R /opt
+
+
diff --git a/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat b/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat
index 4e4fce955a6f40d2ded16e39db10d4872333c615..e5affaa43e61d5c9d867bb2b4ff4f9fea838ebea 100644
--- a/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat
+++ b/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat
@@ -1,7 +1,7 @@
 SET mongo_exe="c:\Program Files\MongoDB\Server\4.2\bin\mongo.exe"
 SET beamtime_id=asapo_test
 SET beamline=test
-SET stream=%1
+SET stream=python
 SET receiver_root_folder=c:\tmp\asapo\receiver\files
 SET receiver_folder="%receiver_root_folder%\test_facility\gpfs\%beamline%\2019\data\%beamtime_id%"
 SET dbname = %beamtime_id%_%stream%
diff --git a/tests/automatic/producer/python_api/check_windows.bat b/tests/automatic/producer/python_api/check_windows.bat
index 3d5386b7a95ff1ff4a108f4a168c4ab0b42a4b92..01c8380785c2959e04b0ead2a8395cfdcfe81a45 100644
--- a/tests/automatic/producer/python_api/check_windows.bat
+++ b/tests/automatic/producer/python_api/check_windows.bat
@@ -1,7 +1,7 @@
 SET mongo_exe="c:\Program Files\MongoDB\Server\4.2\bin\mongo.exe"
 SET beamtime_id=asapo_test
 SET beamline=test
-SET stream=%1
+SET stream=python
 SET receiver_root_folder=c:\tmp\asapo\receiver\files
 SET receiver_folder="%receiver_root_folder%\test_facility\gpfs\%beamline%\2019\data\%beamtime_id%"
 SET dbname = %beamtime_id%_%stream%