[Samba] read only mount on Mac OS Catalina
phartley at gmail.com
Wed Jan 22 14:11:38 UTC 2020
On Wed, Jan 22, 2020 at 12:42 AM Rowland penny via samba <
samba at lists.samba.org> wrote:
> On 22/01/2020 06:40, Paul Hartley via samba wrote:
> > I have a simple samba 4.10 server on FreeBSD that I can mount using MacOS
> > Catalina 10.15.2 using either the Finder connect to server option or via
> > mount_smbfs. I can browse directories and see files already present on
> > server but when I try to write a file on Mac OS Catalina (just doing a
> > simple "touch filename"), I get the message "Read-only file system".
> > I look at finder info for the mounted path where I want to write a file,
> > username has read & write access. The same username is used for user
> > permissions on the server. I have spent a fair amount of time trying a
> > variety of remedies based on what I discover from searching online but
> > getting nowhere. Would anyone have insight on why I'm getting a
> > filesystem when successfully mounting my smb share, seeing files but not
> > being able to write?
> > My smb4.conf (with anonymized user and path values for this email) is as
> > follows. The path attribute is owned by root:wheel at /home and the user
> > path within (/home/user) is owned by root:user. /home/user also is set
> > 2770.
> I don't know about Freebsd, but, on Linux, I would expect /home to
> belong to root:root with 0755 and /home/user to belong to user:user,
> again with 0755
I'm not sharing /home, I used this as a bad example to simplify here...
I'll rephrase -- I'm sharing dir2 found at /dir1/dir2. dir2 is owned by
root:wheel and set to 755. There is a subdir /dir1/dir2/user within that
is owned by root:user set to 2770. I can mount /dir1/dir2 with MacOS
Catalina and see the contents of /dir1/dir2/user, but cannot write -- get a
"read only filesystem" message.
Doesn't matter if I set /dir/dir2/user to 777, can mount, still can't write
with MacOS Catalina. I've even tried mounting with mnt_sambafs -f 777 -d
777 ... and the mount works, but still have the same issue with writing
I kinda suspect this is an issue on the Mac side... if this isn't the best
place to find a solution, any suggestions of other good Mac based listservs
to ask this type of question would be appreciated.
> > [global]
> > log file = /var/log/samba/%m
> > max log size = 1000
> > [home]
> > path = /home
> > guest ok = no
> > writable = yes
> > browsable = yes
> > valid users = user
> > inherit permissions = yes
> > inherit acls = yes
> > ea support = yes
> > vfs objects = catia fruit streams_xattr
> Why are you using [home] instead of [homes] ?
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba