i am having some issues with my samba setup.
I am able to share and connect to folders in general, but any /home folder or subfolder cant be accessed and gives me a message “no access rights”. The folders are visible but i cant simply access them.
Since I am able to connect to other folders i guess it’s a problem with my folder rights?
The shares are on a fedora server system (small NAS) and i am trying to connect them to my fedora workstation.
My current smb.conf test configuration is pretty simple:
[global] server role = standalone server map to guest = Bad User usershare allow guests = yes security = user [testa] comment = testing path = /srv/samba/ [testb] comment = testing path = /home/myusername/testfolder read only = no guest ok = yes force user = myusername force group = myusername [homes] comment = homefolders valid users = %S browsable = yes writable = yes
I am able to connect to testa but testb and homes are access denied yet visible in nautilus.
i checked and both testa and testb folders have identical user|group and readwrite settings.
I am using the same user on my nas system and on my workstation and on both systems they have an identical user and group id.
I checked a lot of video or text tutorials and there the shares work straight forward. So what am i missing?
SELinux was preventing share for home folders
setsebool -P samba_enable_home_dirs=1