05-07-2025, 01:12 PM
How did you set permissions on your linux_share directory ?
The samba set up on my test machine follows the Linux Lite Manual at
https://www.linuxliteos.com/manual/netwo...ite-shares
which uses names and passwords.
My starting point is therefore different to you.
I think unsecured access is a bad idea, but I have been able to get it working as an exercise.
Using a terminal session in the home directory of the server, created a new directory in the home folder called 'temptest'
Open up the permissions on the folder for all
Check anyone can access temptest
Look for 'drwxrwxrwx' in the permission list for the new directory.
Could have used Thunar for the above.
Edit the existing smb.conf file - I used the 'Lite Network Shares' because it includes some syntax checking and restarts smb when done, but manually editing the file is possible. I left the existing set up well alone and just added the following for the easy access share at the bottom of the file.
Having made the change, save and exit then allow Lite Network Shares to restart services.
If you are editing manually, you need to restart smbd manually to allow the new config to be read.
Having done that, the temptest directory on the server was accessible (as a share called 'anonymous') from another machine without credentials using either Thunar or CLI.
One oddity was that using Thunar -> right click -> create document didn't work, but other methods worked so I guess that's a Thunar wrinkle. May be the problems you had with Thunar seeing your share are along the same lines ?
Samba can refuse to work for lots of reasons. As your starting point is different, you may need some tweaking for this to work for you, but it can work as you want.
The samba set up on my test machine follows the Linux Lite Manual at
https://www.linuxliteos.com/manual/netwo...ite-shares
which uses names and passwords.
My starting point is therefore different to you.
I think unsecured access is a bad idea, but I have been able to get it working as an exercise.
Using a terminal session in the home directory of the server, created a new directory in the home folder called 'temptest'
Code:
mkdir temptest
Open up the permissions on the folder for all
Code:
chmod a=rwx temptest
Check anyone can access temptest
Code:
ls -l
Could have used Thunar for the above.
Edit the existing smb.conf file - I used the 'Lite Network Shares' because it includes some syntax checking and restarts smb when done, but manually editing the file is possible. I left the existing set up well alone and just added the following for the easy access share at the bottom of the file.
Code:
#======== Added 2025-05-07 for temporary test ========
[Anonymous]
path = /home/%U/temptest
browseable = yes
writable = yes
guest ok = yes
read only =no
Having made the change, save and exit then allow Lite Network Shares to restart services.
If you are editing manually, you need to restart smbd manually to allow the new config to be read.
Having done that, the temptest directory on the server was accessible (as a share called 'anonymous') from another machine without credentials using either Thunar or CLI.
One oddity was that using Thunar -> right click -> create document didn't work, but other methods worked so I guess that's a Thunar wrinkle. May be the problems you had with Thunar seeing your share are along the same lines ?
Samba can refuse to work for lots of reasons. As your starting point is different, you may need some tweaking for this to work for you, but it can work as you want.
stevef
clueless
clueless