I can't write to a Ubuntu folder from Windows machine.

Asked by Andrey Nesterenko

Hi there!

The problem is:

I can see Ubuntu folder form my Windows machine and read it.
But I can't write into it. And that is the problem.

I enabled folder sharing through Samba graphical interface (now it is System - Administration - Samba) and there, as well as in System - Administration - Shared folders, all data is marked as Read/Wright and access is granted to everyone.

So, how can I enable writing now?

Thank you in advance for your help.

Regards,
Andrey.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Sidarth Dasari
Solved:
Last query:
Last reply:
Revision history for this message
Best Sidarth Dasari (sirsid) said :
#1

In the samba config, you have to allow read write and execute permissions. There should be a line that says umask=XXX. Those numbers determine what you can do with the folder. I dont know exactly which numbers will securely allow read/write/execute commands but 000 allows everything.
000 is also VERY VERY VERY INSECURE!!!
Use it as a temporary measure until you find the correct umask settings.
Remember, 000 allows everything and having something like that open can be a bad thing.

Revision history for this message
Andrey Nesterenko (nescom) said :
#2

Thanks Sidarth Dasari, that solved my question.

Revision history for this message
Sidarth Dasari (sirsid) said :
#3

Just remember dont leave it at 000 forever. :)