Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

When I mount a Samba share it works, but it doesn't show me any files, even though they exist on the server, I also cannot write files to the share either.

The server is CentOS 6.4, running Samba. Clients are 10.8.

  1. I can mount a share from the server using: smb://<ip>/<share name>

  2. I can: telnet <ip> 445 successfully

  3. user who mounts the share owns it in this case.


#======================= Global Settings =====================================
interfaces = eth1 lo
bind interfaces only = yes
workgroup = WORKGROUP
security = share
map to guest = bad user
#============================ Share Definitions ==============================
force user = <user>
comment = MyShare Files
path = /drobo/users/<user>
browsable = yes
writable = yes
read only = no
public = yes
create mask = 0644
directory mask = 0755

What changes need to be made so that the files that already exist can be seen as well as allowing write permissions?

share|improve this question

Stop using security=share ! - see my blog post Samba and guest shares with "security = user"

Also suggest you simplify your share definition:

  1. Drop user= - it's not valid (testparm should tell you that)
  2. Drop force user = - that is if you want guest access
  3. Drop writable= - it's a synonym for read only= - you don't need both
  4. Drop public=yes, it's usable but better to replace with guest ok=yes of which it is a synonym for.
  5. Drop the mask entries until you know what you're doing.
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.