Skip to content

Commit 7aadf20

Browse files
authored
Make sure we set owner of the home directory to the desired user (#74)
1 parent 0fc1abe commit 7aadf20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

environment/image_recipes/bare_metal/bare_metal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484

8585
"echo 'Add image version file to image'",
8686
"echo '{\"active_version\": \"{{ user `image_name` }}\"}' | tee -a /home/{{ user `username` }}/.ota.json",
87-
"chown {{ user `username` }}:{{ user `username` }} /home/{{ user `username` }}/.ota.json",
87+
"chown -R {{ user `username` }}:{{ user `username` }} /home/{{ user `username` }}",
8888

8989
"echo 'Remove unused space on the image'",
9090
"dd if=/dev/zero of=/EMPTY bs=1M || true",

0 commit comments

Comments
 (0)