On Sun, 2002-03-31 at 19:57, rpjday wrote: > > is there any reason that a non-root user shouldn't be allowed > to run "e2label" just to *see* the label of a partition? after all, > non-root users can run things like "mount" to see what's mounted, > as long as they're not trying to modify anything.
Normal users *can* use e2label, as long as they can read from the device. On most of your hard disks, that won't be the case. If normal users could read from the device, they could read files without regard to filesystem permissions. > and running "e2label" with no args as a non-root user prints > a usage message, strongly suggesting that there is a proper way > to run it, rather than just saying "permission denied." As is proper. It's not the application denying permission to the users, it's the permissions on the device you're trying to read.
signature.asc
Description: This is a digitally signed message part