VeraCrypt icon indicating copy to clipboard operation
VeraCrypt copied to clipboard

Not enough data available

Open Meri3252 opened this issue 9 months ago • 1 comments

Expected behavior

  1. Veracrypt should provide useful error messages
  2. optionally run without sudo, asking for the root password for privileged actions like formatting

Observed behavior

When Veracrypt is run on Arch Linux by a user without sudo permissions, an error is shown during the format process with the message: "Not enought data available" When the Format button is used again, the error mesage changes to: "VeraCrypt::File::Write:395"

Using Veracrypt on Debian (without sudo available) results in a proper error message about missing permissions. (Without sudo, Veracrypt needs to run entirely as root, which is an issue on its own)

Steps to reproduce

  1. Setup a new container with ext4 on Arch Linux
  2. Click format
  3. Dont be in the sudoers file
  4. Find weird error message

Screenshots

Image

Image

Your Environment

Please tell us more about your environment

VeraCrypt version: 1.26.24 (also tested with 1.26.20)

Operating system and version: Arch Linux

System type: 64-bit

Meri3252 avatar Jun 04 '25 21:06 Meri3252

The same error also happens every time if you enter the wrong password when unmounting.

Steps to reproduce:

  1. Mount a volume successfully.
  2. Click 'Unmount'.
  3. When it asks the for admin password, enter the wrong password (sometimes I enter the password for the volume by accident, or just have a typo).
  4. It shows the error "Not enough data available" and the volume is not unmounted.
  5. Now if you retry to unmount (with the correct admin password) it will always say "Broken pipe VeraCrypt::File::Write:395".

After this happens, it's in a broken state where VeraCrypt cannot mount or unmount this volume any more, until you restart the computer.

robme avatar Jul 19 '25 14:07 robme