Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 build a Ubuntu NAS to store my windows files. I can move files from windows to the shared folder in ubuntu but when logged in ubuntu, I can't see the windows files that I have moved over to the ubuntu folder. Is there a way to see them from the ubuntu side?

share|improve this question

This is probably a permissions issue. To check, run the command sudo ls -la in a folder that has Windows files. You should see your missing files. (The sudo command uses the "super user" account, which has authority to almost everything.)

If so, the problem is that samba is not assigning the correct default permissions to new files. There is a setting in smb.conf that defines the default permissions for new files.

share|improve this answer
Thanks for the response but what is the setting that I have to change in smb.conf? – ShiroDX Jun 30 '12 at 4:09
That depends on what permissions you need. Should a specific group have edit or read rights? Perhaps all users should have edit and read rights? Run "man smb.conf" in a console to get the manual. One possibility is "create mask". – Tom Jun 30 '12 at 14:36
PS: do the missing files appear when using the sudo command? – Tom Jun 30 '12 at 18:25

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.