[Samba] Unable to write to a share that I should have access to

Rob Campbell robcampbell08105 at gmail.com
Fri Mar 4 23:21:56 UTC 2022


Ok.  What about this one, it's ext4 along with all the others.

testparm -s:
[Photos]
comment = Photo Storage
create mask = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777
inherit acls = Yes
path = /multimedia/Photos
read only = No
valid users = @HOME\Photos_Users @HOME\Multimedia_Users

/etc/samba/smb.conf:
[Photos]
comment = Photo Storage
path = /multimedia/Photos
writeable = yes
guest ok = no
browseable = yes
create mask = 0777
force create mode = 777
force directory mode = 777
inherit acls = Yes
read only = no
directory mask = 0777
valid users = @HOME\Photos_Users, at HOME\Multimedia_Users

The user is a member of both Photo_Users and Multimedia_Users.  Just for
now, I just want to be able to write.  In the future, I'd want Photo_Users
to be able to write but Multimedia_Users only be able to read.

Previously I was mounting through /etc/fstab but that gave everyone on that
workstation access and I didn't want that but it allowed me to write
//fs01/seagate /multimedia/Seagate             cifs
 credentials=/root/.smbinfo,uid=1000,gid=1001    0 0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In all things, Be Intentional.


On Fri, Mar 4, 2022 at 6:04 PM Rowland Penny via samba <
samba at lists.samba.org> wrote:

> On Fri, 2022-03-04 at 17:55 -0500, Rob Campbell wrote:
> > I added 'read only = no'
> > The drive is extfat (usb drive).
> > How do I set samba group permissions on a directory?  'chown
> > smbuser at HOME. . -R' chown: invalid user
>
> You cannot, exfat does not support user or group ACLs
>
> Rowland
>
>
>
> --
> 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 mailing list