6

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?

2

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

1

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.

0

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.

-1

Use dropbox and create a symbolic link to the folder.

ln -s ~/Dropbox/site1 /var/www/site1
1
  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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