Package: util-linux
Version: 2.12p-7
Severity: normal

Hi,

in the mkswap manpage one reads:

  To setup a swap file, it is necessary to create that file before initializing 
  it with mkswap, e.g. using a command like

              # dd if=/dev/zero of=swapfile bs=1024 count=65536

With Debian's default umask this creates a file with the following permissions:

-rw-r--r--  

whereas appropriate permissions are:

-rw------- 

Therefore I suggest to add the following command after dd:

              # chmod go-rwx swapfile


(This report is related to bug #196857, which will probably not be fixed soon.)


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (100, 'unstable'), (99, 'experimental'), (98, 'breezy')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages util-linux depends on:
ii  libc6                         2.3.5-4    GNU C Library: Shared libraries an
ii  libncurses5                   5.4-9      Shared libraries for terminal hand
ii  libslang2                     2.0.4-4    The S-Lang programming library - r
ii  libuuid1                      1.38-2     universally unique id library
ii  zlib1g                        1:1.2.3-3  compression library - runtime

util-linux recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to