Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-21-2006, 05:32 PM
|
#1
|
|
Member
Registered: Dec 2005
Distribution: Slackware -current, 14.0
Posts: 950
Rep: 
|
Can't Mount NFS as Non-Root?
hey all,
have googled and search these forums, but nothing quite matches.
If I try to mount nfs share as non-root, I get:
Code:
# mount -v -t nfs 192.168.3.2:/ /mnt/tmp
mount: Unable to bindresvport TCP socket: errno 13 (Permission denied)
nfs bindresvport: Permission denied
I had been getting another error (can't quite remember, but ultimately it was illegal port), made some changes and now this error comes up.
Any ideas?
cheers,
|
|
|
|
04-22-2006, 11:12 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,682
|
non root users can only mount shares defined in /etc/fstab. add an entry to fstab, and use the "noauto" option to have it not mounted automatically. you would then just run "mount /mnt/tmp" to mount it as any user.
|
|
|
|
04-22-2006, 11:43 AM
|
#3
|
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Rep:
|
i think adding the user option will allow it to be accessible/mounted by your user too
|
|
|
|
04-22-2006, 05:18 PM
|
#4
|
|
Member
Registered: Dec 2005
Distribution: Slackware -current, 14.0
Posts: 950
Original Poster
Rep: 
|
this entry has always been in my fstab:
Code:
192.168.3.2:/ /mnt/nfs nfs rw,noauto,user,timeo=14,hard,intr 0 0
no success,
EDIT: my exports file:
Code:
/ 192.168.3.0/24(rw,insecure,sync)
cheers
Last edited by mrclisdue; 04-22-2006 at 05:22 PM.
|
|
|
|
04-23-2006, 03:26 AM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,682
|
it'll be the command you are trying to use. by specifying the FULL mount command you are implying that fstab is ignored. if you only provide the mountpoint then fstab will be used correctly.
|
|
|
|
04-23-2006, 04:08 AM
|
#6
|
|
Member
Registered: Dec 2005
Distribution: Slackware -current, 14.0
Posts: 950
Original Poster
Rep: 
|
Code:
[laptop@main ~]$ mount /mnt/nfs
nfs bindresvport: Permission denied
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:50 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|