Skip to content

Commit 2574dfb

Browse files
committed
Remove chown commands after copying files to web directory
1 parent a19fa09 commit 2574dfb

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

update-ota.sh

-16
Original file line numberDiff line numberDiff line change
@@ -777,22 +777,6 @@ if [ $? -ne 0 ]; then
777777
exit 1
778778
fi
779779

780-
# Set proper ownership and permissions for JSON file
781-
if ! chmod 664 "$WEB_DIR/$(basename "$PATCHED_OTA")"; then
782-
log "ERROR" "Failed to set permissions for patched OTA file"
783-
exit 1
784-
fi
785-
786-
if ! chmod 664 "$WEB_DIR/$(basename "$PATCHED_OTA").csig"; then
787-
log "ERROR" "Failed to set permissions for signature file"
788-
exit 1
789-
fi
790-
791-
if ! chmod 664 "$WEB_DIR/$DEVICE.json"; then
792-
log "ERROR" "Failed to set permissions for JSON file"
793-
exit 1
794-
fi
795-
796780
# Function to clean up old builds from web directory
797781
cleanup_web_builds() {
798782
local web_dir="$1"

0 commit comments

Comments
 (0)