Package: util-linux
Version: 2.20.1-5.3
Severity: minor
Tags: patch

Dear Maintainer,

The error description in errno.h defines EPERM as /* Operation not permitted */ 
(i.e must not repeat the operation)

--- mount/mount.c.orig  2013-03-24 13:50:27.000000000 +0200
+++ mount/mount.c       2013-03-24 13:58:10.000000000 +0200
@@ -1733,7 +1733,7 @@ try_mount_one (const char *spec0, const
           if (stat (node, &statbuf) || !S_ISDIR(statbuf.st_mode))
                error (_("mount: mount point %s is not a directory"), node);
           else
-               error (_("mount: permission denied"));
+               error (_("mount: operation not permitted"));
       } else
        error (_("mount: must be superuser to use mount"));
       break;

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages util-linux depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg                   1.16.9
ii  initscripts            2.88dsf-41
ii  install-info           4.13a.dfsg.1-10
ii  libblkid1              2.20.1-5.3
ii  libc6                  2.13-38
ii  libncurses5            5.9-10
ii  libselinux1            2.1.9-5
ii  libslang2              2.2.4-15
ii  libtinfo5              5.9-10
ii  libuuid1               2.20.1-5.3
ii  lsb-base               4.1+Debian9
ii  tzdata                 2013b-1
ii  zlib1g                 1:1.2.7.dfsg-13

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  dosfstools          3.0.16-2
ii  kbd                 1.15.5-1
pn  util-linux-locales  <none>

-- debconf information:
  util-linux/noauto-with-nonzero-passnum:
--- mount/mount.c.orig	2013-03-24 13:50:27.000000000 +0200
+++ mount/mount.c	2013-03-24 13:58:10.000000000 +0200
@@ -1733,7 +1733,7 @@ try_mount_one (const char *spec0, const
 	   if (stat (node, &statbuf) || !S_ISDIR(statbuf.st_mode))
 		error (_("mount: mount point %s is not a directory"), node);
 	   else
-		error (_("mount: permission denied"));
+		error (_("mount: operation not permitted"));
       } else
 	error (_("mount: must be superuser to use mount"));
       break;

Reply via email to