LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to share files in ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-share-files-in-ubuntu-851924/)

kiruja 12-22-2010 10:11 PM

How to share files in ubuntu
 
I RECENTLY INSTALLED UBUNTU MAVERIC 10.10 AND I HAVE BEEN TRYING TO SHARE FILES USING SAMBA AND I GET AN ERROR WHIOLE TRYING TO CONFIGURE THE FILE SHARING: 'Failed to execute child process "testparm" (No such file or directory)':
what would have caused this problem?????

frankbell 12-22-2010 10:32 PM

1. Open a terminal.

2. Run this command: sudo ps -A. Does the output show the smbd daemon (process) running?

3. If not, cd /etc/samba, then sudo smbd restart.

4. Repeat Step 2 and let us know what you found out.

digerati1338 12-23-2010 12:39 PM

In Ubuntu it should be really simple to create a samba share. Just right click on the folder you want to share and click configure sharing for this folder, or something similar to that. A wizard should guide you through the process and automatically set up samba if it isnt already working.

Also, we understand you fine if you use lowercase. No need to shout.

kiruja 01-18-2011 04:27 AM

"Create Folder", type a name, hit the Enter key.

Right click your named folder, and select "Sharing Options".

Up comes a Folder Sharing Window, checkbox "Share this folder" and "Allow others to create and delete files in this folder", then click "Create Share".

You may get an error like:

failed to execute child process "testparm" (No such file or directory)

Open up a terminal window by clicking "Applications" dropdown menu of your Desktop, then "Accessories", then "Terminal". This is often how we fix things like this. Type the following or highlight and within the terminal window push both mouse buttons down:

Try Approach A first: sudo apt-get upgrade

... and if that doesn't do it for ya, try Approach B:

sudo cp /usr/bin/testparm.samba3 /usr/bin/testparm

sudo cp /usr/bin/net.samba3 /usr/bin/net

sudo chmod +x /usr/bin/testparm /usr/bin/net

Try creating the share again.


All times are GMT -5. The time now is 12:09 PM.