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've included the following in /etc/sambe/smb.comf so that i can edit files on our webserver from a Windows machine -

[websites]
    comment = Websites
    browseable = yes
    writable = yes
    path = /var/www/html/
    valid users = dgard

However, I've now installed Ubuntu (13.04) on to my machine and I wish to connect to the path specified above from it, but I cannot find out how.

I've tried Connect to Server from Nautilus with the following, but it fails -

sftp://dgard@webserver.local/var/www/html

Can anyone please let me know what I need to do? Thanks.

Note: my webserver does not have a desktop installed.

share|improve this question
    
See askubuntu.com/questions/310180/… –  user68186 Oct 3 '13 at 13:46
    
Thanks, but my webserver does not have a desktop, so I have to do it via terminal. –  David Gard Oct 3 '13 at 13:56
    
Please note also that I've amended my question after trying something from the question you tagged. –  David Gard Oct 3 '13 at 14:07
    
You either use samba, FTP or whatever file sharing method you want to use, not all at the same time. Please edit your question and let us know which of them you want, and how you plan to accomplish this. Be very verbose. –  Braiam Oct 3 '13 at 14:09
    
I would use NFS between 2 linux systems: help.ubuntu.com/community/SettingUpNFSHowTo It will retain permissions for on; samba is for windows<>linux. –  Rinzwind Oct 3 '13 at 14:37

1 Answer 1

To access a samba share you can press Ctrl+L on Nautilus to open the location bar then type:

smb://webserver.local/websites

It will then ask for authentication and mount the shared folder.

Use server's IP address if have trouble accessing by name.

share|improve this answer

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.