[Samba] odd issue with permisions

Rowland penny rpenny at samba.org
Tue Oct 27 18:50:42 UTC 2020


On 27/10/2020 18:35, Dan Egli via samba wrote:
> I'm really confused about something. It seems like on my samba server
> the user AND GROUP permissions must match for me to access any files in
> my home directory. Here's an example of what I mean: ($ = at unix shell,
>> = in smbclient)
> $ mkdir ~dan/test1
> $ chmod 700 ~dan/test1
> $ smbclient -U dan //localhost/dan
>> cd test1
>> put test1.txt
> (failure, NT_STATUS_ACCESS_DENIED)
>> quit
> $ chmod 070 ~dan/test1
> $ smbclient -U dan //localhost/dan
>> cd test1
>> put test1.txt
> (failure, NT_STATUS_ACCESS_DENIED)
>> quit
> $ chmod 770 ~dan/test1
> $ smbclient -U dan //localhost/dan
>> cd test1
>> put test.txt
> (SUCCESS)
>
>
> Why on earth would samba even CARE about group permissions when user
> permissions are perfectly fine? Help me fix this?

What OS ?

What version of Samba ?

Please post your smb.conf

Rowland






More information about the samba mailing list