System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

rresvport: bind: permission deneid(rcp for no-root users)

WW606278
Occasional Visitor

rresvport: bind: permission deneid(rcp for no-root users)

I need to rcp a file from one machine to another Not as root but as a user,i got following error:
rresvport: bind: permission deneid.
If i do it using root,it can be done successfully,anyone can help me ?
4 REPLIES
Viktor Balogh
Honored Contributor

Re: rresvport: bind: permission deneid(rcp for no-root users)

i think it's an issue of the permission of rcp. do an

# ll /usr/bin/rcp

what does it say? it should be -r-sr-xr-x
If not, do

# chmod 4555 /usr/bin/rcp

****
Unix operates with beer.
WW606278
Occasional Visitor

Re: rresvport: bind: permission deneid(rcp for no-root users)

hi,Viktor Balogh
i change the permission by what you said in root,and the result is :
-r-sr-xr-x 1 ngntd users 45056 2000å¹´11æ 14æ ¥ rcp

but the problem is still on , can you give some other advice?
Viktor Balogh
Honored Contributor

Re: rresvport: bind: permission deneid(rcp for no-root users)

on my system:

# ll /usr/bin/rcp
-r-sr-xr-x 1 root bin 150920 Feb 15 2007 /usr/bin/rcp
#


do a chown root:bin /usr/bin/rcp and it will work. It looks like someone has altered your system. The best way is to do an swverify and see what other things have changed.

# swverify \*

****
Unix operates with beer.
WW606278
Occasional Visitor

Re: rresvport: bind: permission deneid(rcp for no-root users)

Thank you very much , i changed the owner of rcp to root and it works!O(â ©_â ©)O