How should 7-Zip handle files being used by another process?

Aperta
#254 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
backend

Direzione di ricerca

The issue describes compression failing when a source file is locked, but does not identify relevant files or tests. Read the linked SourceForge discussion first, then trace how 7-Zip handles file access during compression. Clarify the desired behavior and define how locked files should be handled before estimating completion.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Currently trying to compress files while one of them is locked by other process result on The process cannot access the file because it is being used by another process. and the file not getting archived. The only discussion about this behavior that I could find was in the SourceForge forums and feels incomplete (at least I could not understand the argument given).

I opened this issue largely for two reasons: so it serve to document this behavior and, maybe, check if this behavior can be improved. Currently my workaround for this is having to copy the file I'm working, compress it and then delete the temporary copy.

Lingua principale
C++
Stelle
4.6k
Fork
519
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ip7z/7zip

Tutte le issue di ip7z/7zip

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.