Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to allow a Mac user on the same network to edit (in-place) a stylesheet file on my localhost.

Hence I would like to share /var/www/site1 with users on the network.

How can I do this?

share|improve this question

4 Answers 4

up vote 2 down vote accepted

you could install gshare.

with it you can select what folders you want to share just by right clicking them.

sudo apt-get install gshare

Here is my home folder that I share in my local network. enter image description here

share|improve this answer

NFS is also an option. Read the Ubuntu NFS documentation for instructions on how to set up the NFS server. See this Apple KB document for easy instruction on how to connect to the NFS server.

share|improve this answer

I think that Mac supports samba (SMB) so you could set up a share that way. There are instructions for setting up a samba share on the help.ubuntu.com site.

The other possibility is netatalk. This allows you to set up a share in the mac native AFP protocal. I found some decent instructions for setting this up on the missingreadme blog.

I should note that I don't believe that netatalk will allow sharing from your friends mac. So if you need to get something that they have shared you will want to see this question.

share|improve this answer

Use dropbox and create a symbolic link to the folder.

ln -s ~/Dropbox/site1 /var/www/site1
share|improve this answer
    
dropbox works only with small files or it takes ages to share a file. Once I copied a movie from one of my computers to the other it took 6 hours to copy 600mb. If I do it via the network it takes like 2 minutes. –  Alvar Jul 21 '11 at 12:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.