Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5072

Beginners • Re: Could I get some help with Samba please?

$
0
0
Wheras I can just freely open, edit and save from Mint pc, without doing anything, I can open but not not edit and save back without doing something.
This sentence makes me think there is a possibility that your shared folder is read-only. That's why you have to check the config file in /etc/samba/smb.conf
It is all very well saying that, but you are not telling someone (who appears to be new to this) how to check the smb.conf file.

At the end you will find the configuration for your shared folder:

Code:

[Anonymous]path = /srv/sambabrowseable = yeswritable = yesread only = noguest ok = yes
If you actually used testparm on that, you would find that it is effectively:

Code:

[Anonymous]path = /srv/sambaread only = noguest ok = yes
Of course, to use 'guest ok = yes', you would also need to ensure that 'map to guest = bad user' is set in '[global]'.
Of course your shared name and path will be different. If you have to make any change, don't forget to restart the samba server with sudo systemctl restart smbd.
You do not need to restart smbd when you change the config, running:

Code:

sudo smbcontrol smbd reload-config
Will force smbd to re-read smb.conf

Statistics: Posted by hortimech — Mon Mar 04, 2024 2:12 pm



Viewing all articles
Browse latest Browse all 5072

Trending Articles