[plug] USB & kernel questions

Cameron Patrick cameron at patrick.wattle.id.au
Thu Dec 18 10:51:16 WST 2003


On Thu, Dec 18, 2003 at 10:07:37AM +0800, James Devenish wrote:

| > mount is (and should be) setuid root
| 
| Bzzt. But I imagine it was, by far, clearly the "best effort" at the
| time.

So how should it be done, then?  The mount system call needs root
priviledges, so unless there's some way to give a process permission to
mount() but not the rest of the baggage that comes with being root -
which I don't think is possible on a stock Linux kernel - I can't think
of a better solution.

Cameron.




More information about the plug mailing list