Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It's been a while that i'm a owner of an ubuntu (10.10) laptop. In our office every one is using windows.and our workgroup is simply WORKGROUP. i've installed samba, and it's conf is so:

   workgroup = WORKGROUP
   #   security = user

   path = /media/Repo/share  // this is another partition
   browsable = yes
   guest ok = yes
   read only = no
   create mask = 0755

but still nobody can access my share folder and the machine cannot being even seen on the network. but i can access others shared folders.

is there anything i needed to do that i left out? thanks for reading this

share|improve this question

Did you add yourself to samba users?

You can try this GUI to configure it: system-config-samba Install Samba

I did this to configure mine:

  • Preferences > Server settings > Basic: input your Workgroup
  • Preferences > Server settings > Security: Authentication Mode=User, Guest Account=No Guest Account
  • Preferences > Samba Users > Add user:

1 - Choose a Linux account (the one Samba will use when accessing the shared files. Usually, you want to choose yourself.)

2 - Type in a user name and a password (does not have to be a real windows account or password, its just the input that Ubuntu will ask when someone tries to access the share. It can be "aaa" / "bbb")

So, basically, sharing folders involve 2 different authentications: first, the one that SAMBA, via SMB protocol, asks for anyone that tries to access a share. Thats the step 2 above. Then, after Samba grants that person rights to access the share, Samba itself will need OS authorization to access to the filesystem and its files (the Linux owner-group-world secutiry model). For that, Samba uses the user selected in step 1 above. So any folder (and files) you share must be accessible, inside Linux, by the user selected.

In Windows world it works the same: theres the share authentication and the NTFS one.

Last but not least: whatever user you select (usually yourself), make sure that it has the "Share Files with the Network" privilege in Administration > Users and Groups > Advanced Settings button > Privileges tab. I think Ubuntu already grants this privilege to the first user it creates, but it doesnt hurt to check it out.

Also, to share folders, I dont use this GUI, I use Nautilus:

  • Right-click the folder you want to share
  • Select "Sharing Options"
  • Give the share a name, and select read/write or annonymous access

Hope that works for you too!

share|improve this answer
what do you have as Unix Username? – black sensei May 30 '11 at 19:22
@black sensei: The unix account that Samba will use to access the shared files. Usually, that will be your unix login. It means that, after SMB authentication (using the login and password you configured in Samba), it will have the same privileges as you inside that share. – MestreLion Jun 2 '11 at 6:28
Ill edit the answer to make it more clear. – MestreLion Jun 2 '11 at 6:29

You Can simply run an simpleHTTP server in the linux machine and access the same on the other machine.
Steps :
1. first start the terminal from the folder to be shared.
2. run in terminal - 'python -m SimpleHTTPServer'
3. check your ip using the ifconfig.
4. enter in the browser of the other machine the ip address:8000
eg: if your ip is
Then in browser you type
you get the required files in the folder to download.

share|improve this answer

Your Answer


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.