File sharing setup

Bill Stanley bstanle at wowway.com
Fri Dec 31 23:23:15 UTC 2010


On 12/31/2010 03:41 AM, Colin Law wrote:
> On 30 December 2010 23:22, Bill Stanley<bstanle at wowway.com>  wrote:
>> 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.
> Google shows this could be a problem on Ubuntu 9.10.  Are you using
> 9.10?  If so have you made sure the system is up to date?  If so then
> it might be worth looking through
> http://www.google.co.uk/search?hl=&q=Failed+to+execute+child+process+%22testparm%22+%28no+such+file+or+director+samba&sourceid=navclient-ff&rlz=1B3GGGL_enGB320GB320&ie=UTF-8
> to see if they are of any help.
>
> Colin
>
>
>> 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.
>>
>>
>>
>>
Well once again I found it easier to reinstall rather than fighting to 
find out what the matter is.  This was my main computer and although I 
backed up all the data I now have to reinstall all of the applications.  
I forgot how many apps there were.  No matter I am using this to clean 
up all those nagging little things and have my computer back and running 
as I want it.

I ALMOST have the file sharing running.  The way things were just before 
the reinstall I the older computer was properly acting as a server.  Of 
course, the file sharing was going in the wrong direction.  After the 
reinstall this is happening...

 From computer one I can read and write files to the documents folder on 
computer two.

 From computer two, I





More information about the ubuntu-users mailing list