adding Samba user not possible

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
karl
Posts: 7
Joined: Fri Feb 12, 2021 8:41 am

Re: adding Samba user not possible

Post by karl »

Hi Joulinar

Problem is solved. I hat a "bad" line in smb.conf (create mask = 0664)
Since I commented this line out,every copying works fine..

We can close this issue now. Thanks for your help. DietPi is a great project
KR
Karl
User avatar
Joulinar
Posts: 5688
Joined: Sat Nov 16, 2019 12:49 am

Re: adding Samba user not possible

Post by Joulinar »

that's strange, usually this value specify the permissions used to create files on the samba share, nothing else.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
karl
Posts: 7
Joined: Fri Feb 12, 2021 8:41 am

Re: adding Samba user not possible

Post by karl »

hmm.. but: when -as you're writting- this setting controls the write permission, due to my understanding it is logical, that this is an essential point to control.. when I copy a directory from A to B and it is still not available on B.. the first thing is, that it will be created. And this creation is a form of writting???
Isn't that true?

You see I'm far away from a Linux guru - I only have my common sense-

BR
Karl
User avatar
Joulinar
Posts: 5688
Joined: Sat Nov 16, 2019 12:49 am

Re: adding Samba user not possible

Post by Joulinar »

well the value is defining the permissions on which a directory is newly created. 664 means r/w permission for the creator.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply