File sharing setup

Bill Stanley bstanle at wowway.com
Thu Dec 30 23:22:29 UTC 2010


On 12/30/2010 04:33 PM, Colin Law wrote:
> On 30 December 2010 17:54, Bill Stanley<bstanle at wowway.com>  wrote:
>> ...
>> By the way, is there any advantage to installing the samba server on
>> every machine or does this just complicate the setup?
>
> It won't do any harm if you install it on a machine that is not
> required to serve files, but there is no point.  It will just sit
> there doing nothing much, consuming a small amount of resources (I
> guess), in the vain hope that it might be asked to do something at
> some point.  I just install it on machines that I setup shares on.


I now am able to share the document directory on computer two (the 
computer that had the ping problem) and access files on computer one. 
Computer two is now acting as a server.  However this is not exactly 
what I want. I want computer one to be the server since it is newer, 
faster and has a much larger hard drive.

What is happening is this.  Smbfs has been installed on both computers.
When I try yo set file sharing on the documents directory I get an error.

1. I click on places/home folder.  (it opens correctly)
2. I right-click on the documents folder and I choose the
    "Sharing Options" item.
3. A dialog box opens (titled Folder Sharing) and I check the
    "Share this folder" item.
4. I check the item saying "Allow others to create..."

At this point everything seems OK.

5. I choose "Create Share" and I get an error.

The line saying Share name  Documents now is displayed
in red and and an error the message saying

Failed to execute child process
"testparm" (no such file or directory.

I tried the same with other directories and even tried
creating a guest account and I get the same error.

The directory definitely exists and has files in it.
I thought the permissions were wrong but they appear to be correct.
they are...

Owner            bill
Folder access    Create and delete files
file access      --    NOTE: I tried to change this item and
                        can't because it is a folder?

The same permissions are set for GROUP and OTHERS.

In short I have partial success but I can't make the new computer
(comp one) the server.







More information about the ubuntu-users mailing list