Just migrated from Ubuntu to Fedora 37 and followed this guide Samba Setup Guide.
Managed to make everything work. Just one setback, when i enter as my main user account i see both my home folder and my shared folder(that is inside my home folder, so you can say i see it twice)
Is there a way to only see my shared folder when i sign-in to samba as my main user account? Or do i have to create another user and add him to a group that everyone can see?
ChatGpt recommended the following in the smb.conf but didn’t work.
hide files = /home/yourusername/*
unix extensions = no
You are surprised to see the same data twice when your user has 2 different paths to reach it? Why?
One is the shared path and one is the home folder path. If that user has access to both paths they should be able to see the same data twice.
The suggestion above about relocating the shared data to a different path makes a lot of sense, or the user could just accept that the data in both locations is actually the same. There are advantages to both methods so use what seems right for you.