Commit 2b68185a authored by Lennart Poettering's avatar Lennart Poettering
Browse files

cryptsetup: downgrade world-writable warning again

This semi-reverts 8973790e.
parent 19aa7c4f
......@@ -377,8 +377,12 @@ int main(int argc, char *argv[]) {
goto next;
}
/* If we readd support for specifying passphrases
* directly in crypttabe we should upgrade the warning
* below, though possibly only if a passphrase is
* specified directly. */
if (st.st_mode & 0005)
log_warning("/etc/crypttab is world-readable. This is usually not a good idea.");
log_debug("/etc/crypttab is world-readable. This is usually not a good idea.");
for (;;) {
char line[LINE_MAX], *l;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment