On 2007-08-31, Tom Brown <[EMAIL PROTECTED]> wrote:

> I understand that I am getting this error because I am running
> the application as a user and not as root. I would like to be
> able to run this app. as a user. Is there a way to create a
> socket without running the app. as root or sudo?

Yes.

According to the raw(7) man page:

   ERRORS

      EPERM The user doesn't have permission to open raw
            sockets.  Only pro- cesses with a effective user
            ID of 0 or the CAP_NET_RAW attribute may do that.

Anticipating your next question:

 $ man capabilities

-- 
Grant Edwards                   grante             Yow! Well, I'm INVISIBLE
                                  at               AGAIN ... I might as well
                               visi.com            pay a visit to the LADIES
                                                   ROOM ...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to