The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sorting prob Vikas Sood Shell Programming and Scripting 7 08-04-2006 12:13 PM
prob with ssh abzi Shell Programming and Scripting 1 01-24-2006 12:43 AM
cronjob prob rahul123_libra UNIX for Dummies Questions & Answers 3 01-11-2006 05:18 AM
memory prob vjm AIX 1 09-27-2005 06:38 AM
prob dreams5617 Shell Programming and Scripting 1 12-05-2004 12:31 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-23-2008
Registered User
 

Join Date: Jan 2008
Posts: 54
NFS prob

Hi all,
i want mount directory with permission

#NFS Server = FreeBSD
/etc/export =
/data -alldirs -network 192.168.0.0 -mask 255.255.255.0

#NFS Client = Ubuntu
192.168.0.8:/data /dir nfs intr

but i m unable to create folder in /dir

whts the wrong?
Please Help me

Last edited by jagnikam; 06-23-2008 at 12:01 PM. Reason: wrong info mentioned
Reply With Quote
Forum Sponsor
  #2  
Old 06-23-2008
Registered User
 

Join Date: Dec 2007
Location: Virginia, USA.
Posts: 250
You still need correct user:group ownership and the exported directory must have sufficient permissions to allow creating directories in the export.
Reply With Quote
  #3  
Old 06-23-2008
Registered User
 

Join Date: Jan 2008
Posts: 54
Quote:
Originally Posted by ramen_noodle View Post
You still need correct user:group ownership and the exported directory must have sufficient permissions to allow creating directories in the export.
Thanks for reply ..................
above mentioned line using in my /etc/export ........ is thr somethink wrong in that ?
Reply With Quote
  #4  
Old 06-23-2008
Registered User
 

Join Date: Dec 2007
Location: Virginia, USA.
Posts: 250
For god's sake man.
Code:
examples.
From a linux nfs server...
drwxr-xr-x   4 root root  4096 2007-11-17 15:27 storage
/storage/home       192.168.1.0/24(rw,secure,no_wdelay,root_squash,anonuid=65000,anongid=65000)


FreeBSD
drwxr-xr-x   3 root  wheel      512 Jun 21 14:22 storage_angst
/storage_angst -maproot=root -network 192.168.1.0 -mask 255.255.255.0
Make it work then securify.
Reply With Quote
  #5  
Old 06-24-2008
Registered User
 

Join Date: Jan 2008
Posts: 54
Quote:
Originally Posted by ramen_noodle View Post
For god's sake man.
Code:
examples.
From a linux nfs server...
drwxr-xr-x   4 root root  4096 2007-11-17 15:27 storage
/storage/home       192.168.1.0/24(rw,secure,no_wdelay,root_squash,anonuid=65000,anongid=65000)


FreeBSD
drwxr-xr-x   3 root  wheel      512 Jun 21 14:22 storage_angst
/storage_angst -maproot=root -network 192.168.1.0 -mask 255.255.255.0
Make it work then securify.



Thanks for RePLy,
the problem is solved by restarting the server. thats wht i forgot to do.

Server=FreeBSD
drwxr-xr-x 3 root localuser 512 Jun 21 14:22 data
/data -alldir -maproot=root -network 192.168.0.0 -mask 255.255.255.0
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0