From: Karel Zak <kzak@redhat.com>
To: mp.lists@free.fr
Cc: util-linux <util-linux@vger.kernel.org>
Subject: Re: Accessibility of swap files
Date: Tue, 8 Jan 2013 13:19:57 +0100 [thread overview]
Message-ID: <20130108121957.GA18204@x2.net.home> (raw)
In-Reply-To: <1354907674.50c2401a5ee19@imp.free.fr>
On Fri, Dec 07, 2012 at 08:14:34PM +0100, mp.lists@free.fr wrote:
> > > Did you know?
> > > The swapon utility issues a warning diagnostic with --verbose:
> > >
> > > # ls -l /tmp/swapfile
> > > -rw-r--r-- 1 berny users 134217728 Nov 6 17:03 /tmp/swapfile
> > >
> > > # sbin/swapon -v /tmp/swapfile
> > > swapon /tmp/swapfile
> > > swapon: /tmp/swapfile: insecure permissions 0644, 0600 suggested.
> > > swapon: /tmp/swapfile: insecure file owner 1000, 0 (root) suggested.
I have improved swapon(8), so the --verbose option is not necessary,
the warnings about insecure perms/owner is always printed.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next prev parent reply other threads:[~2013-01-08 12:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 19:14 Accessibility of swap files mp.lists
2013-01-08 12:19 ` Karel Zak [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-12-07 19:18 mp.lists
2012-11-06 15:06 mp.lists
2012-11-06 16:25 ` Bernhard Voelker
2012-11-21 10:08 ` Karel Zak
2012-11-21 13:46 ` Sami Kerola
2012-11-21 15:00 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130108121957.GA18204@x2.net.home \
--to=kzak@redhat.com \
--cc=mp.lists@free.fr \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).