[Samba] The way things used to work...
Jeremy Allison
jra at samba.org
Fri Dec 5 22:07:13 GMT 2008
On Fri, Dec 05, 2008 at 11:02:37PM +0100, Dragan Lukic wrote:
> Let me see if I understand....
>
> In my smb.conf things should look like this:
>
> [global]
> workgroup = FOO
> server string = FOO Server
> security = user
> map to guest = Bad Password
> hosts allow = 192.168.125. 127.0.
> log file = /var/log/samba/%m.log
> max log size = 50
> local master = no
> os level = 33
> dns proxy = no
> # ==================== Share Definitions ===================
> [Share]
> path = /home/foobar/Documents/Share/
> public = yes
> writable = yes
> printable = no
>
> and ALL users (remote and LOCAL) will have full rigths on shared directory and
> it's contents???
>
> With my current smb.conf, whoever pastes file into shared dir creates it as
> local user, so later on local user can edit or do whatever he/she wants on
> pasted file.
> Talking in permissions, pasted files are created as localuser:localuser rwxr-
> xr-x, and if I just leave guest OK and user leves security, files are created
> as nobody:nogroup, and that is exactly what I DO NOT WANT!
Use force user on the share.
Jeremy.
More information about the samba
mailing list