#1  
Old 31st March 2007, 03:27
knowram knowram is offline
Member
 
Join Date: Feb 2007
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default ubuntu server and mac desktops

I am a mac user that was given a pc so I put ubuntu server on it. and now I would like to set it up as a file server. I have been searching around for a good howto to get me started but i can't find anything. can someone point me in the right direction?

Thanks for the help
Reply With Quote
Sponsored Links
  #2  
Old 2nd April 2007, 22:25
knowram knowram is offline
Member
 
Join Date: Feb 2007
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have been able to get NFS working. however i only have read permissions from my mac here is a copy of my /etc/exports

Code:
/home/NFS       192.168.0.0/24(rw,no_root_squash,insecure,async)
My mac's ip address is 192.168.0.100

any ideas?
Reply With Quote
  #3  
Old 3rd April 2007, 19:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Did you try this tutorial? http://nfs.sourceforge.net/nfs-howto/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 4th April 2007, 04:56
knowram knowram is offline
Member
 
Join Date: Feb 2007
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default

I had not looked at that tutorial but after looking at it the only info I found was about spacing and that did not seem to change anything for me.

Any other ideas would be appreciated

Thanks
Reply With Quote
  #5  
Old 4th April 2007, 14:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Can you try
Code:
/home/NFS       192.168.0.0/24(rw)
in /etc/exports?

What's the output of
Code:
ls -la /home/NFS
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 5th April 2007, 00:06
knowram knowram is offline
Member
 
Join Date: Feb 2007
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default

here is the output of the ls

Code:
total 16
drwxr-xr-x 4 root root 4096 2007-04-02 16:11 .
drwxr-xr-x 5 root root 4096 2007-04-02 16:11 ..
drwxr-xr-x 2 root root 4096 2007-04-02 16:11 Movies
drwxr-xr-x 2 root root 4096 2007-04-02 16:11 TV
and if now that i have removed the insecure part in /etc/exports i can't mont the drive from my apple finder and i don't know how to specify a user from the cli.
Reply With Quote
  #7  
Old 11th April 2007, 05:30
knowram knowram is offline
Member
 
Join Date: Feb 2007
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default

an update,

it seems that the only way I can get write permissions is if i give the "others" group write permissions. But that means that everyone using can write to that folder. just to test it I when back to the exports file and changed the permissions in there to read only, unmounted the share, restarted the nfs server and remounted it and I still had write privileges. So the privileges in the exports file are not being used. Anyone have any idea why?

Thanks for the help
Reply With Quote
  #8  
Old 11th April 2007, 05:41
knowram knowram is offline
Member
 
Join Date: Feb 2007
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

and more.

Just found the answer I think you have to set the permissions on the folder that you are sharing to rwxrwxrwx and then use the permissions in the export file to control access i was wrong in my last post i just look at the get info and is said i still have write permissions but when i tried to put something there it wouldn't let me. but now i have my exports set up like this

Code:
/home/NFS       192.168.0.100/32(rw,no_root_squash,insecure,async)
/home/NFS       192.168.0.100/24(ro,no_root_squash,insecure,async)
Where 192.168.0.100 is my computer where i am uploading files from.

Thanks again everyone for you help
Reply With Quote
The Following User Says Thank You to knowram For This Useful Post:
falko (11th April 2007)
Reply

Bookmarks

Thread Tools
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
MAC address muzica Server Operation 5 12th March 2007 12:56
Installing ISPConfig on miniMac G4 with Ubuntu 6.10 asejua Tips/Tricks/Mods 1 25th December 2006 21:12
Using mac ids in smb.conf fayaz Server Operation 1 2nd August 2006 19:04
Unbearably slow access speeds CombatGod Installation/Configuration 5 30th May 2006 16:31
Webmail Relay Error palkat General 17 23rd April 2006 18:12


All times are GMT +2. The time now is 10:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.