xfs
[Top] [All Lists]

Bug#705483: xfsprogs: xfs_quota misinterprets usernames with leading dig

To: submit@xxxxxxxxxxxxxxx
Subject: Bug#705483: xfsprogs: xfs_quota misinterprets usernames with leading digits
From: James Carter <james.carter@xxxxxxxxxxxxxx>
Date: Mon, 15 Apr 2013 15:46:51 +0100
Delivered-to: xfs@xxxxxxxxxxx
Delivered-to: submit@xxxxxxxxxxxxxxx
Reply-to: James Carter <james.carter@xxxxxxxxxxxxxx>, 705483@xxxxxxxxxxxxxxx
Resent-cc: XFS Development Team <xfs@xxxxxxxxxxx>
Resent-date: Mon, 15 Apr 2013 15:27:02 +0000
Resent-from: James Carter <james.carter@xxxxxxxxxxxxxx>
Resent-message-id: <handler.705483.B.13660395475485@xxxxxxxxxxxxxxx>
Resent-sender: Debian BTS <debbugs@xxxxxxxxxxxxxxxxxxxx>
Resent-to: debian-bugs-dist@xxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121127 Icedove/10.0.11
Subject: xfsprogs: xfs_quota misinterprets usernames with leading digits
Package: xfsprogs
Version: 3.1.4
Severity: normal

*** Please type your report below this line ***

xfs_quota interprets usernames with leading digits as a numeric UID so,
for example:

# xfs_quota -c 'quota -h -u 2000ad' /store
Disk quotas for User test (2000)
Filesystem   Blocks  Quota  Limit Warn/Time    Mounted on
/dev/sdb1       12K     1G     1G  00 [------] /store

This is returning quota information for the user "test" (UID 2000), rather
than the user "2000ad".

-- System Information:
Debian Release: 6.0.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xfsprogs depends on:
ii  libblkid1                     2.17.2-9   block device id library
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib ii libreadline5 5.2-7 GNU readline and history libraries
ii  libuuid1                      2.17.2-9   Universally Unique ID library

xfsprogs recommends no packages.

Versions of packages xfsprogs suggests:
pn  acl <none>     (no description available)
pn  attr <none>     (no description available)
pn  quota <none>     (no description available)
pn  xfsdump <none>     (no description available)

-- no debconf information

--
James Carter                                           Bytemark Hosting
                                             http://www.bytemark.co.uk/
                                              tel: +44 (0) 1904 890 890

<Prev in Thread] Current Thread [Next in Thread>