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

I've followed the ff instructions on how to set up a Raspberry Pi as a simple network storage device:

How to Turn a Raspberry Pi into a Low-Power Network Storage Device

However I ran into a problem at the step after setting up permissions. I assumed adding this to samba.conf would set up the permissions:

comment = Backup Folder
path = /media/USBHDD1/shares
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
read only = no

Unfortunately, no luck. The authentication steps afterward allowed readonly access to the storage device, but not write/modify access.

Any clues on what could be the problem?

share|improve this question
This is seems to be just a canonical linux/samba permission question. – jiggunjer Mar 29 at 1:10

Read up on chmod and chown. For example you can use chmod to do this:

chmod g+rwx /media/USBHDD1/shares

This allows any user who is part of the same group as the owner of the shares folder to read, write & execute the contents of the shares folder.

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.