Samba share - child folders inaccessible

Issues related to configuring your network
Post Reply
VeeDub
Posts: 39
Joined: 2019/12/21 02:34:05

Samba share - child folders inaccessible

Post by VeeDub » 2021/02/07 01:20:56

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

VeeDub
Posts: 39
Joined: 2019/12/21 02:34:05

Re: Samba share - child folders inaccessible

Post by VeeDub » 2021/02/07 01:23:22

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

VeeDub
Posts: 39
Joined: 2019/12/21 02:34:05

Re: Samba share - child folders inaccessible

Post by VeeDub » 2021/02/07 21:04:14

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

VeeDub
Posts: 39
Joined: 2019/12/21 02:34:05

Re: Samba share - child folders inaccessible

Post by VeeDub » 2021/02/08 20:28:53

If this is a bug, should I be logging a fault somewhere?

Post Reply