Summary: | Permission denied while trying to view quota on XFS volume as a non-root user with Linux 2.6.5-mm6. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ed Plese <ed> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ed Plese
2004-04-22 17:48:58 UTC
After performing some additional testing, it appears that this bug occurs only when the XFS filesystem resides on a logical volume created with LVM. On the same system as described above that did not work, as root: $ mkdir /mnt/test $ chmod 777 /mnt/test $ dd if=/dev/zero of=/root/xfstest bs=1M count=128 $ losetup /dev/loop0 /root/xfstest $ mkfs.xfs /dev/loop0 $ mount -t xfs -o usrquota,grpquota /dev/loop0 /mnt/test $ quotaon /mnt/test $ edquota -f /mnt/test ed as ed: $ quota quota: Can't stat() mounted device /dev/vg_data/home: Permission denied Disk quotas for user ed (uid 1000): Filesystem blocks quota limit grace files quota limit grace /dev/loop0 0 1000 2000 1 0 0 So, on that same system, with two XFS filesystems mounted with quotas enabled, one residing on an LVM2 volume and the other residing on a loopback device, as shown above, the loopback device properly returns the user quotas, whereas the LVM device does not. can you try with latest versions of quota/kernel ? test 3.12 please |