[Samba] Cannot Write to Linux Shares from Mac

Hal Vaughan hal at hal.dance
Wed May 20 23:04:24 UTC 2020


I have a Linux server and this is my output from smbstatus:

Samba version 4.9.5-Debian
PID     Username     Group        Machine                                   Protocol Version  Encryption           Signing              
----------------------------------------------------------------------------------------------------------------------------------------
8758    nobody       nogroup      172.16.7.3 (ipv4:172.16.7.3:55565)        SMB3_02           -                    -                    
8761    hal          hal          172.16.7.10 (ipv4:172.16.7.10:52585)      SMB3_02           -                    partial(AES-128-CMAC)

Service      pid     Machine       Connected at                     Encryption   Signing     
---------------------------------------------------------------------------------------------
Library      8758    172.16.7.3    Wed May 20 06:43:23 PM 2020 EDT  -            -           
MediaShares  8761    172.16.7.10   Wed May 20 06:43:30 PM 2020 EDT  -            -           

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock           SharePath   Name   Time
--------------------------------------------------------------------------------------------------
8758         65534      DENY_NONE  0x100081    RDONLY     NONE             /share01/Library   Video   Wed May 20 18:43:26 2020
8758         65534      DENY_NONE  0x100081    RDONLY     NONE             /share01/Library   Video   Wed May 20 18:43:26 2020
8761         1000       DENY_NONE  0x100081    RDONLY     NONE             /share01   .   Wed May 20 18:43:40 2020
8761         1000       DENY_NONE  0x100081    RDONLY     NONE             /share01   .   Wed May 20 18:43:58 2020

I have two Samba shares on the system.  One is intended to be read-only and the other read-write.  Here are the share portions of my smb.conf file:

[Library]
	comment = Media library
	path = "/share01/Library"
	browseable = yes
	read only = yes
	guest ok = yes
#	follow symlinks = yes
	wide links = yes

[MediaShares]
	comment = Non-guest share for file manipulations
	path = "/share01"
	browseable = yes
	writeable = yes
	guest ok = no
	create mask = 0644
	directory mask = 0755
#	follow symlinks = yes
	wide links = yes

(The commented out follow simlinks is for testing some things - not in use now.)

The idea is that most of my family’s computers can read the Library share and play video and music files and so on.  On my iMac, I can access MediaShares, the parent directory to the Library share.  MediaShares is supposed to be read/write so I can manage the library and add new content. The directories are read/write for me, as a user.  I can write to them on the Linux server.

My desktop is an iMac, running macOS 10.14.3.  I can mount MediaShares and give it my password, but it’s no longer writeable.  It was a month or so ago, but now that I’m trying to rip more CDs to the media library, I can’t write to MediaShares at all from my iMac.

In the past, I had the share auto-mounting, without even asking for my password, but now, when I mount the MediaShares volume, I have to do it by hand and use my password.

How can I make this volume mount R/W from my iMac and what probably changed things so it was no longer auto-mounting or letting me write to it?



Hal


More information about the samba mailing list