Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 19th October 2011, 03:41 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
linuxfedorafirefox
Re: automount network share in F14

Quote:
10.0.0.1:/nfs/user /media/nas nfs timeo=50,hard 0 0
10.0.0.1:/nfs/Public /mnt/mybook nfs rw,_netdev,noatime,bg,soft 0 0
I'll suggest that you want the SAME options for both mounts. These look good,
rw,_netdev,noatime,bg,soft
add a ,timeo=50 if you wish.

Quote:
Originally Posted by jpollard View Post
Chmod should not be used - you just allowed anybody to modify any file.

What is your NFS server?
It's a mybook NAS (see post 1). Yes it runs Linux, and no he has no login access.

Quote:
What is in the /etc/exports file? (assuming it is Linux)
Inaccessible, but he has both mounts.

Quote:
Did you remember to enable NFS exports with SELinux?
Offtopic - read the thread.



The issue is that the share directory ownership and that of the user are not the same


As background - the simplest RCP permission makes use of your numerical user ID, not the the user name.

So we want to know your userID on Fedora and of the mounted share, while mounted, like this
/media/nas
Quote:
[stevea@luchs Desktop]$ ls -ld /media/nas
drwxr-xr-x 2 root root 4096 Oct 18 22:38 /media/nas
[stevea@luchs Desktop]$ ls -ldn /media/nas
drwxr-xr-x 2 0 0 4096 Oct 18 22:38 /media/nas
[stevea@luchs Desktop]$ id
uid=520(stevea) gid=520(stevea) groups=520(stevea),10(wheel),599(everyone)
So my userid is 520 and my groupids are 520, 10, and 599.
The directory permissions are
drwxr-xr-x 2 root root
or numerically
drwxr-xr-x 2 0 0

There is a good chance you'll want to change the numerical UID of the ownership on the server.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 19th October 2011 at 03:49 AM.
Reply With Quote
  #17  
Old 19th October 2011, 10:32 PM
lerlan1 Offline
Registered User
 
Join Date: Aug 2007
Location: Ontario, Canada
Posts: 59
linuxfedorafirefox
Re: aoutomount network share in F14

as requested:
Quote:
[~]$ ls -ld /media/nas
drwxrwxr-x. 15 root 1000 65536 Aug 26 19:52 /media/nas
[~]$ ls -ldn /media/nas
drwxrwxr-x. 15 0 1000 65536 Aug 26 19:52 /media/nas
[~]$ id
uid=500(LerJos) gid=500(LerJos) groups=500(LerJos),501(vboxusers) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
good news: I also found this tool called putty that can allows me to connect to the WD live and login as root.

Last edited by lerlan1; 20th October 2011 at 12:08 AM.
Reply With Quote
Reply

Tags
aoutomount, f14, network, share

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
share in network Elena147 Servers & Networking 4 26th March 2008 02:45 AM
How do I mount a network share ? OralDeckard Using Fedora 0 22nd February 2007 01:17 AM
NTFS Network Share s3cur17y Servers & Networking 1 11th April 2006 07:59 PM
network share under win xp z3rgl1ng Servers & Networking 2 10th August 2005 11:52 AM
Installing from a network share DRE.ORGY.NET Installation and Live Media 10 27th November 2004 02:42 AM


Current GMT-time: 07:26 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat