Skip to content

Commit 51fbb5b

Browse files
committed
make nfs target files writeable
1 parent 1333004 commit 51fbb5b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/rtems_proxy/copy.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ def copy_rtems():
4141
dest = protocol_folder / proto_file.name
4242
shutil.copy(proto_file, dest)
4343

44+
# make sure all files are writable - by default some products are read-only
45+
for folder in [dest_ioc, dest_runtime]:
46+
for file in folder.glob("**/*"):
47+
file.chmod(0o666)
48+
4449
# copy all the files needed for runtime into the PVC that is being shared
4550
# over nfs/tftp by the nfsv2-tftp service
4651
for folder in ["bin", "dbd"]:

0 commit comments

Comments
 (0)