Page 1 of 1

Samba share - child folders inaccessible

Posted: 2021/02/07 01:20:56
by VeeDub
Hello,

Am after some troubleshooting suggestions.

I have setup a secure samba share which is working.

When I connect from a Windows computer, I'm prompted for the credentials and can then access the share.

However all the child folders within the share are inaccessible.

Here is an extract from smb.conf

Code: Select all

[Secure]
        path = /run/timeshift/backup
        valid users = @smbgrp
        guest ok = no
        writable = yes
        browsable = yes
And on the child folder within: /run/timeshift/backup

The permissions for smbgrp are:
- Create and delete files

Nevertheless when I attempt to access a child folder in the share via a user who is a member of smbgrp, I have no access :(

Things I could try?

Thanks

VW

Re: Samba share - child folders inaccessible

Posted: 2021/02/07 01:23:22
by VeeDub
I forgot to mention, I can access the child folder on the CentOS host using the same user credentials as I am trying to use via Samba

Re: Samba share - child folders inaccessible

Posted: 2021/02/07 21:04:14
by VeeDub
So /run/timeshift/backup/timeshift is a child directory of the share:
/run/timeshift/backup

getfacl shows that the smbgrp has rwx permissions

Code: Select all

$ getfacl /run/timeshift/backup/timeshift
getfacl: Removing leading '/' from absolute path names
# file: run/timeshift/backup/timeshift
# owner: root
# group: smbgrp

Re: Samba share - child folders inaccessible

Posted: 2021/02/08 20:28:53
by VeeDub
If this is a bug, should I be logging a fault somewhere?