Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - rpcbind got "Permission denied" error.: (2 Items)
   
rpcbind got "Permission denied" error.  
hi, 

I am running rpcbind on my board. but got  "Permission denied" errors. 

# ./rpcbind -d
rpcbind: Cannot bind `local': Permission denied
rpcbind: Failed to open /var/run/rpcbind.sock: Permission denied

# ls -l
total 6796
-rwx------   1 root      root          56752 Sep 02  2019 rpcbind

and   /var/run/ also writable:

# ls -l /var
total 56
drwxrw-rw-   2 root      root           4096 Jan 01 00:08 run


How can I fix it? thanks.

Version: QNX 7.0




Re: rpcbind got "Permission denied" error.  
Two thoughts:
1) Is /var/run on a standard qnx6 type filesystem? Or is it on something else?

2) What permissions is io-pkt running with - are you dropping root or using some other security setup? io-pkt will 
create the socket in /var/run when rpcbind does the bind() call.