Server Fault is a question and answer site for system and network administrators. 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

I have started samba daemon on ubuntu server 9.04 with following config:

  comment = Share
  read only = no
  path = /share
  guest ok = yes

Windows users can browse share, but can't create / copy / modify files in it :(. How to give everyone a full access?

share|improve this question
up vote 2 down vote accepted

Samba still uses the underlying Unix permissions, so none of the users who are connecting can likely write to that directory.

One way to do it would be to use the force user directive:

force user = <username>

Use the username that owns /share.

If you still want the files owned by the actual user that created them, then you could use

force group = group
create mask 0775

This will make sure all files are in the same group and that group read/write permissions are assigned to everything that is created.

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.