Re: [Samba] No write access on new shares until smbd is restarted
- Date: Thu, 14 Jun 2018 23:09:15 +0200
- From: Eugene Pankov via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] No write access on new shares until smbd is restarted
Yep - that's a standalone server. We're running the same configuration
(generated from a template) on over a hundred of servers, and just a few
manifest this "readonly until restart" behaviour. I'm struggling to isolate
any specific conditions that cause this at the moment.
The users are added as Samba users.
On Thu, Jun 14, 2018 at 10:06 PM Rowland Penny via samba <
> On Thu, 14 Jun 2018 20:14:13 +0200
> Eugene Pankov <e@xxxxxxxxxx> wrote:
> > Rowland,
> > Sorry - here are the globals and share config:
> > [global]
> > template shell=/bin/bash
> > log file=/var/log/samba/log.%m
> > log level=8
> > max log size=5000
> > passdb backend=tdbsam
> > load printers=no
> > printing=bsd
> > printcap name=/dev/null
> > map to guest=bad user
> > [2430_ram]
> > path=/data/fs/2430-ram
> > guest ok=no
> > browseable=yes
> > create mask=0775
> > directory mask=0775
> > read only=no
> > follow symlinks=yes
> > wide links=no
> > valid users=man_dude
> > oplocks=yes
> > locking=yes
> > The log from my first message is a user attempting and failing to
> > create a folder in the root of the share. The user is the one
> > specified in valid_users.
> > The OS level permissions are correct - i.e. I can log in locally as
> > man_dude and create that folder on the FS.
> OK, if I remove all the default lines, I am left with this:
> template shell=/bin/bash
> log file=/var/log/samba/log.%m
> log level=8
> load printers=no
> printcap name=/dev/null
> map to guest=bad user
> create mask=0775
> directory mask=0775
> read only=no
> valid users=man_dude
> And you can probably remove 'map to guest=bad user' as well, because
> you do not have 'guest ok = yes' in the share.
> You could probably remove 'template shell=/bin/bash' as well, it isn't
> needed, your Unix has it own shell.
> From your smb.conf, you are running samba as a standalone server, is
> this what you require ?
> If it is, have you added the Unix users as Samba users ?
> For more info, see here:
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
To unsubscribe from this list go to the following URL and read the