Closed andersonm66 closed 3 years ago
Destination is a network server mounted with 777 permissions
30436+1 records in 30436+1 records out 31914983424 bytes (32 GB, 30 GiB) copied, 754.155 s, 42.3 MB/s pishrink.sh v0.1.2 pishrink.sh: Gathering data ... Warning: Error fsyncing/closing /mnt/backup/mgk-rc1.20210820.img: Permission denied Warning: Error fsyncing/closing /mnt/backup/mgk-rc1.20210820.img: Permission denied pishrink.sh: Checking filesystem ... writable: Inode 16424 extent tree (at level 1) could be shorter. IGNORED. writable: Inode 23919 extent tree (at level 1) could be shorter. IGNORED. writable: 110402/1872896 files (0.1% non-contiguous), 990856/7725947 blocks resize2fs 1.45.5 (07-Jan-2020) pishrink.sh: Shrinking filesystem ... resize2fs 1.45.5 (07-Jan-2020) Resizing the filesystem on /dev/loop6 to 971276 (4k) blocks. Begin pass 2 (max = 249982) Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Begin pass 3 (max = 236) Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Begin pass 4 (max = 17983) Updating inode references XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX The filesystem on /dev/loop6 is now 971276 (4k) blocks long.
Warning: Error fsyncing/closing /mnt/backup/mgk-rc1.20210820.img: Permission denied Warning: Error fsyncing/closing /mnt/backup/mgk-rc1.20210820.img: Permission denied pishrink.sh: Shrinking image ... Warning: Error fsyncing/closing /mnt/backup/mgk-rc1.20210820.img: Permission denied
It still seems to work but I would like to fix the permission errors
People have struggled with this in the past. The work around is to copy the file locally and work on it there.
Destination is a network server mounted with 777 permissions
30436+1 records in 30436+1 records out 31914983424 bytes (32 GB, 30 GiB) copied, 754.155 s, 42.3 MB/s pishrink.sh v0.1.2 pishrink.sh: Gathering data ... Warning: Error fsyncing/closing /mnt/backup/mgk-rc1.20210820.img: Permission denied Warning: Error fsyncing/closing /mnt/backup/mgk-rc1.20210820.img: Permission denied pishrink.sh: Checking filesystem ... writable: Inode 16424 extent tree (at level 1) could be shorter. IGNORED. writable: Inode 23919 extent tree (at level 1) could be shorter. IGNORED. writable: 110402/1872896 files (0.1% non-contiguous), 990856/7725947 blocks resize2fs 1.45.5 (07-Jan-2020) pishrink.sh: Shrinking filesystem ... resize2fs 1.45.5 (07-Jan-2020) Resizing the filesystem on /dev/loop6 to 971276 (4k) blocks. Begin pass 2 (max = 249982) Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Begin pass 3 (max = 236) Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Begin pass 4 (max = 17983) Updating inode references XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX The filesystem on /dev/loop6 is now 971276 (4k) blocks long.
Warning: Error fsyncing/closing /mnt/backup/mgk-rc1.20210820.img: Permission denied Warning: Error fsyncing/closing /mnt/backup/mgk-rc1.20210820.img: Permission denied pishrink.sh: Shrinking image ... Warning: Error fsyncing/closing /mnt/backup/mgk-rc1.20210820.img: Permission denied
It still seems to work but I would like to fix the permission errors