Networking Forums

Networking Forums > Computer Networking > Linux Networking > user mode permission denied to bind to socket

Reply
Thread Tools Display Modes

user mode permission denied to bind to socket

 
 
Junior Member
Join Date: May 2011
Posts: 3

 
      05-03-2011, 04:35 PM
Hi,
In user mode [non-root] linux machine, tried to bind a socket by using a "ioctl(iInterfaceSocket, SIOCSIFADDR, &stCommand)". I am getting error 13 -> Permission denied because of user mode. If change from usermode to kernel mode everything works fine.
I need to bind the socket in user mode only, please suggest solution for the above
while explaining the above, if I missed any information please inform, I will provide more info.
Thanks
Eswar
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't bind to port: 80 Permission denied Ciur Eugen Linux Networking 9 04-02-2009 12:25 PM
nfs gives permission denied pranay.tembhekar@gmail.com Linux Networking 1 05-17-2006 12:25 AM
Workgroup Permission Denied (Usually) Bob Ryan Wireless Networks 1 10-23-2005 10:10 PM
Permission Denied? JBecht Windows Networking 0 10-03-2005 03:25 PM
Network permission is denied? Tim Walsh Windows Networking 1 09-22-2003 02:33 PM



1 2 3 4 5 6 7 8 9 10 11