Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4513

zip -r --filesync buffer overflow detected

$
0
0

I'm using a home made script to backup my files.It's working correctly for months but since I updated from Ubuntu 22.04 to 24.04 a few days ago, I get a buffer overflow with this script :

DATA_ROOT="/mnt/Data"DESTINATION=$DATA_ROOT"/Backup & Maintenance/_BACKUP/Ubuntu-backup"ZIP="kbn_home_files.zip"# Zip & RSync#.config/gtk-3.0 -> css title bar nemocd "$DESTINATION"zip -r --filesync --symlinks "$ZIP" \    /home/kbn/0_Shells \    /home/kbn/Bureau \    /home/kbn/Images \    /home/kbn/Modèles \    /home/kbn/Musique \    /home/kbn/Téléchargements \    /home/kbn/hunderbird \    /home/kbn/Vidéos \    /home/kbn/.config/dconf \    /home/kbn/.config/filezilla \    /home/kbn/.config/gtk-3.0 \    /home/kbn/.config/libreoffice \    /home/kbn/.config/Nextcloud \    /home/kbn/.config/sublime-text-3 \    /home/kbn/.epsonscan2 \    /home/kbn/.fonts \    /home/kbn/.local/share/gnome-shell \    /home/kbn/.local/share/nemo \    /home/kbn/.local/share/nemo-python \    /home/kbn/.local/share/Nextcloud \    /home/kbn/.mozilla \    /home/kbn/.thunderbird \    /home/kbn/Documents -x /home/kbn/Documents/Cloud\*

I get this :

kbn@kbn-Vivobook-S-Flip-TN3604YA-TN3604YA:/mnt/Data/Backup & Maintenance/_BACKUP/Ubuntu-backup$ DATA_ROOT="/mnt/Data"DESTINATION=$DATA_ROOT"/Backup & Maintenance/_BACKUP/Ubuntu-backup"    ZIP="kbn_home_files.zip"    # Zip & RSync    #.config/gtk-3.0 -> css title bar nemo    cd "$DESTINATION"    zip -r --filesync --symlinks "$ZIP" \            /home/kbn/0_Shells \            /home/kbn/Bureau \            /home/kbn/Images \            /home/kbn/Modèles \            /home/kbn/Musique \            /home/kbn/Téléchargements \            /home/kbn/hunderbird \            /home/kbn/Vidéos \            /home/kbn/.config/dconf \            /home/kbn/.config/filezilla \            /home/kbn/.config/gtk-3.0 \            /home/kbn/.config/libreoffice \            /home/kbn/.config/Nextcloud \            /home/kbn/.config/sublime-text-3 \            /home/kbn/.epsonscan2 \            /home/kbn/.fonts \            /home/kbn/.local/share/gnome-shell \            /home/kbn/.local/share/nemo \            /home/kbn/Documents -x /home/kbn/Documents/Cloud\**** buffer overflow detected ***: terminated

Sorry but I'm a beginner and really don't understand what to do. I've searched about buffer overflow and zip but did not find anything to solve this.Maybe I enlarged the buffer on Ubuntu 22.04 but it was so long ago I don't remember.

kbn@kbn-Vivobook-S-Flip-TN3604YA-TN3604YA:/mnt/Data/Backup & Maintenance/_BACKUP/Ubuntu-backup$ free -t           total       utilisé      libre     partagé tamp/cache   disponibleMem:        15752788     5157452     1458996      170824     9663212    10595336Échange:     2097148         256     2096892Total:      17849936     5157708     3555888

I found this page but no success trying to use it :zip in Ubuntu 24.04 getting buffer overflow if right single quote mark present

Thanks a lot if someone can help me to find a solution.


Viewing all articles
Browse latest Browse all 4513

Trending Articles