Thanks a lot Pádraig, after using the command you had suggested, my application is working in user mode.
Thanks again, Robin On Thu, 2010-05-13 at 14:27 +0100, Pádraig Brady wrote: > On 13/05/10 14:25, Pádraig Brady wrote: > > On 20/04/10 05:19, robin wrote: > >> Hi, > >> > >> I have a GTK application that makes uses of socket. > >> I am able to run the application as a root user. > > > > setcap cap_sys_raw+ep yourprog > > Actually it should be cap_net_raw: > > setcap cap_net_raw+ep yourprog > > Note you'll need to run the program from > a file system that supports capabilities > (nfs and tmpfs are out). > > cheers, > Pádraig. > > ------------------------------------------------------------------------------- > > DISCLAIMER: This e-mail and any attachment (s) is for authorised use by the > intended recipient (s) only. It may contain proprietary material, confidential > information and/or be subject to the legal privilege of iWave Systems > Technologies Private Limited. If you have received this message in error, > please notify the originator immediately. If you are not the intended > recipient, you are notified that you are strictly prohibited from retaining, > using, copying, alerting or disclosing the content of this message. Thank you > for your co-operation. > ------------------------------------------------------------------------------ ------------------------------------------------------------------------------- DISCLAIMER: This e-mail and any attachment (s) is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to the legal privilege of iWave Systems Technologies Private Limited. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, alerting or disclosing the content of this message. Thank you for your co-operation. ------------------------------------------------------------------------------
_______________________________________________ gtk-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-list
