Opened 19 years ago

Closed 18 years ago

#1011 closed enhancement (worksforme)

Confusing error message if MD5 digest fails

Reported by: Punkie@… Owned by: alfs-log@…
Priority: lowest Milestone:
Component: nALFS - Front End (GUI) Version: 1.2.4
Severity: minor Keywords:
Cc:

Description

If for some reason the file is not readable, the MD5 digest fails, since it cannot read the file. The error message is a bit vague and seems to imply that the digest is different from the one in the XML file. It would be great if there was a better error message for this type of situations.

For the record, I ran the LFS-6.0 profile; I had downloaded the needed packages in Windows XP and copied them into the Linux partition. This lead to all the packages having the "-r-------- root root" permisions, so the lfs user, created in the profile couldn't read the files. This led to md5sum being unable to check the file. Manually checking the file gave me the same results as the digest stored in the XML file - it was confusing for about 10-15 minutes.

Change History (2)

comment:1 by jamie@…, 18 years ago

Status: newassigned

comment:2 by jamie@…, 18 years ago

Resolution: worksforme
Status: assignedclosed

Tested on 1.2.5 and all seems well.

Changed an archive to root ownership with permissions -rwx------ . Test profile just attempted to unpack the archive and digest check it as a normal user.

Exact error from nALFS

E: Unable to open the archive when checking digest: test.tar.gz E: Wrong md5 digest of archive: test.tar.gz

If you are doing something different then please reopen the bug with more information. Closing for now.

Note: See TracTickets for help on using tickets.