Scenario:
I have four computers, each running Mint 18.1 KDE. Each has the same user (dorian), and the same shared folder (/home/dorian/Public). From each, I can see the other three via samba. From any, I can read and edit existing files in the share on any other PC, but I can only write if the share is empty to begin with. That is to say, if on PC1 I create or move a file to /home/dorian/Public, that action will make that folder unwritable from any other PC. But if on PC1 /home/dorian/Public is empty, I can create as many files as I like from PC 2, PC3, etc.
smb.conf is default save for two lines added to [Global]:
Code: Select all
force user = dorian
name resolve order = bcast host lmhosts wins
I have also created a samba user on each (same as login for all four PCs) and the avahi bit from viewtopic.php?f=157&t=185410?f=157&t=185410#p960482 , and ensured the firewall is open to ports 137, 138, 139, 445, 5353 bidirectional.
May I ask for help from the local gurus, please? But please, treat me like I'm twelve and tell me line by line what I need to do. I'm not young, but I am relatively ignorant on this subject.
testparm -s
Code: Select all
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
# Global parameters
[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = bcast host lmhosts wins
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
force user = dorian
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
Code: Select all
[Public]
path=/home/dorian/Public
comment=
usershare_acl=Everyone:F,
guest_ok=y