]> git.ipfire.org Git - thirdparty/util-linux.git/commit
swapon: print warning about insecure owner/permissions
authorKarel Zak <kzak@redhat.com>
Tue, 8 Jan 2013 12:13:40 +0000 (13:13 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Jan 2013 12:15:52 +0000 (13:15 +0100)
commitcd04b26bf86d9987554aae02620d8f8172c66e16
treede2cecf5b319e01df7497e0916ac1a1c44b002ac
parent2adb1a44c213c151ca4c7a7e4fb13276ecd74973
swapon: print warning about insecure owner/permissions

Let's make it more obvious if swap area is accessible for non-root
users. The old version prints the warning only if --verbose is
specified.

Reported-by: mp.lists@free.fr
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/swapon.c