Hi,
So I’ve had a fully working and runing rockstor in company setup. One share - which was accessible for everybody via guest account. All was well. (well technically samba somtimes was asking for logon details, even thou it should just log on automagically as quest).
I think on Friday I’ve performed the upgrade through GUI, and today we discovered that we could read everything from share but not being able to write to it.
share was setup as nobody:nobody 755
samba has a creation mask 755
Now to be able to write to share it has to be set up as nobody:nobody 777
BUT when samba creates a file it creates it with mask 744 (all, read, read).
Yeah, the workgroup regression is there as well
Can somebody bring me up to speed with how to configure stuff nowadays for “simple guest access”
///----update---->>>
my samba config
[global]
workgroup = workgroup
log file = /var/log/samba/log.%m
log level = 3
load printers = no
cups options = raw
printcap name = /dev/null
map to guest = bad user
wide links = yes
unix extensions = no
####BEGIN: Rockstor SAMBA CONFIG####
[share]
root preexec = "/opt/rockstor/bin/mnt-share share"
root preexec close = yes
comment =
path = /mnt2/share
browseable = yes
read only = no
guest ok = yes
public = yes
writable = yes
force user = nobody
force group = nobody
vfs objects = shadow_copy2
shadow:sort = desc
shadow:basedir = /mnt2/share
shadow:snapdir = /mnt2/main_pool/.snapshots/share
shadow:format = share_5min_%Y%m%d%H%M
create mask = 777
####END: Rockstor SAMBA CONFIG####