[Samba] odd issue with permisions

Dan Egli dan at newideatest.site
Tue Oct 27 18:35:35 UTC 2020


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?

-- 
Dan Egli
On my Test server

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20201027/4a89becd/OpenPGP_signature.sig>


More information about the samba mailing list