Re: Accessibility of swap files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 07, 2012 at 08:14:34PM +0100, mp.lists@xxxxxxx 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@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux