Bug#327813: fuser fails silently when run as non-root

2005-09-13 Thread Robert Millan
On Tue, Sep 13, 2005 at 08:36:32AM +1000, Craig Small wrote: [...] The kernel wants those fd subdirectories not publically inaccesable for a reason. I don't know what the reason is, but I'm not going against it. Good point. Also, it might be unportable if other kernels chose to make them

Bug#327813: fuser fails silently when run as non-root

2005-09-12 Thread Robert Millan
Package: psmisc Version: 21.6-1 Severity: normal [EMAIL PROTECTED]:~$ fuser 43141/tcp [EMAIL PROTECTED]:~$ sudo fuser 43141/tcp 43141/tcp:6089 [EMAIL PROTECTED]:~$ It seems it's not capable of detecting open ports whose processes aren't owned by the same user that runs fuser. It

Bug#327813: fuser fails silently when run as non-root

2005-09-12 Thread Craig Small
On Mon, Sep 12, 2005 at 01:04:03PM +0200, Robert Millan wrote: It seems it's not capable of detecting open ports whose processes aren't owned by the same user that runs fuser. It should print a warning when this happens. It's not capable of knowing about any access from any process it cannot

Bug#327813: fuser fails silently when run as non-root

2005-09-12 Thread Robert Millan
On Mon, Sep 12, 2005 at 09:25:21PM +1000, Craig Small wrote: On Mon, Sep 12, 2005 at 01:04:03PM +0200, Robert Millan wrote: It seems it's not capable of detecting open ports whose processes aren't owned by the same user that runs fuser. It should print a warning when this happens.

Bug#327813: fuser fails silently when run as non-root

2005-09-12 Thread Craig Small
On Mon, Sep 12, 2005 at 05:49:56PM +0200, Robert Millan wrote: Perhaps printing a message when running as non-root would help. Or even consider making it SUID (are there any security implications in providing this information to a mallicious user?). I think that would be annoying. Making it