Branch: Tag:

2019-08-23

2019-08-23 11:17:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

CertificateKeyChoiceVariable: Do not lose protected files.

Paths to certificate files in directories where the low-privilege
user did not have read permission were displayed as "Lost file".
The privileges are now raised during the path scan.

2589:    ({ keypair_metadata->key->pem_path });    paths = Array.uniq(paths);    paths = replace(paths, 0, "__LOST__"); +  object privs = Privs("Scanning directory for pem files.");    paths = map(paths, lfile_path); -  +  privs = 0;    res += ({    sprintf("<td style='vertical-align:top'>%s</td><td>%s</td>",    LOC_C(0, "Path(s)"),