Yep. We use /srv and create a folder called "shares" and put all of the samba shares in there. Then permission can be set without worrying about compromising anywhere else.

Cheers,

Marco

On 08/12/2024 12:21, James Dutton via GLLUG wrote:
Hi,

It is sometimes safer to set up a separate location for file sharing
that is not in your home directory tree. This is because you need to
then give people access to read your home folder, in order to read the
Public folder within it.
Maybe /home/shared
and then use SMB/CIFS/NFS to share it.
You will have a safer set of permissions you can set on it.
That being said, including the output of what John W asks for will
probably help solve your problem.

Kind Regards

James



On Fri, 6 Dec 2024 at 08:57, Andrew Black via GLLUG
<[email protected]> wrote:
I am trying to share files in ~/Public and am finding something has changed in 
file permissions.

I am unable to list the ~lesley/Public
I am unable to execute files set as +x  with this directory

Something seems to have changed between Ubuntu 18.04 and 24.04.
Any hints
--
Andrew Black


--
GLLUG mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/gllug


--
GLLUG mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/gllug

Reply via email to