samba grumbles

General support questions
Post Reply
theotheraussie
Posts: 3
Joined: 2020/01/10 01:56:24

samba grumbles

Post by theotheraussie » 2020/01/10 02:03:00

just finished seting up a rpi3 to host my external drives instead of a normal desktop sized pc. i have configured samba the way i had it last time but i have 5 shares set up and i can only access 3 of them... the other 2 i cant. they are all set up identically.

i am finding this very confusing.

has anyone got some pointers?

theotheraussie
Posts: 3
Joined: 2020/01/10 01:56:24

Re: samba grumbles

Post by theotheraussie » 2020/01/12 06:08:25

i have noticed that windows can view the % space used and total space on the drive when the share are mounted but i cant open the shares

Thraex
Posts: 26
Joined: 2019/05/14 19:50:28

Re: samba grumbles

Post by Thraex » 2020/01/13 13:52:26

I'd check the SELinux type on the working shares compared to the non-working shares by doing ls -lZ. Could be that the broken ones don't have the right type applied to them. If that doesn't work, you could raise the log level and hopefully get some useful error messages

BShT
Posts: 149
Joined: 2019/10/09 12:31:40

Re: samba grumbles

Post by BShT » 2020/01/13 17:16:17

do you have created the directory tree according to smb.conf? chmod them correctly? browseable = yes?

testparm?

theotheraussie
Posts: 3
Joined: 2020/01/10 01:56:24

Re: samba grumbles

Post by theotheraussie » 2020/01/17 14:12:41

Thraex wrote:
2020/01/13 13:52:26
I'd check the SELinux type on the working shares compared to the non-working shares by doing ls -lZ. Could be that the broken ones don't have the right type applied to them. If that doesn't work, you could raise the log level and hopefully get some useful error messages
100% correct sir.

some reason it auto applied the samba share type to 3 of the 5 folders the drivers were mounted to and not 2 of them.

many thanks i can stop tearing my hair out.

Post Reply

Return to “CentOS 7 - General Support”