Skip to content

Commit 52e136e

Browse files
Merge pull request #29 from appdevforall/fix/dashboard-proot-safe-copy
fix(dashboard): proot-safe copy (cp -a) instead of rsync -Aax
2 parents 07f24f1 + 01fcffe commit 52e136e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎iiab-android‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,9 @@ install_iiaboa_dashboard() {
414414

415415
# Copy dashboard files
416416
mkdir -p "$dash_dest"
417-
rsync -Aax "${dash_src}/" "$dash_dest/"
417+
# Proot-safe copy: rsync's lchmod -> fchmodat2 (glibc>=2.39, kernel>=6.6) isn't
418+
# translated by proot (rc=23 under proot on 6.6+ kernels); cp -a is reliable.
419+
cp -a "${dash_src}/." "$dash_dest/"
418420

419421
# Install node dependencies
420422
log "Installing Node dependencies for the dashboard..."

0 commit comments

Comments
 (0)