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

Rob Campbell robcampbell08105 at gmail.com
Mon Mar 7 19:21:09 UTC 2022


Following
https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs#Setting_Standard_UNIX_ACLs

# chmod 2770 /srv/samba/Demo/
# chown root:"Domain Users" /srv/samba/Demo/

When I try this, I get an error message
$ chown testuser:"Media Users" TV_Shows/
chown: invalid user: ‘testuser:Media Users’

samba-tool user show testuser
dn: CN=Test User,CN=Users,DC=home,DC=test-server,DC=lan
...
memberOf: CN=Backup,CN=Users,DC=home,DC=test-server,DC=lan
memberOf: CN=Photo Users,CN=Users,DC=home,DC=test-server,DC=lan
memberOf: CN=Multimedia Users,CN=Users,DC=home,DC=test-server,DC=lan
memberOf: CN=Media Users,CN=Users,DC=home,DC=test-server,DC=lan
memberOf: CN=Video Users,CN=Users,DC=home,DC=test-server,DC=lan
memberOf: CN=Music Users,CN=Users,DC=home,DC=test-server,DC=lan
memberOf: CN=Movie Users,CN=Users,DC=home,DC=test-server,DC=lan


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


On Mon, Mar 7, 2022 at 12:00 PM Rob Campbell <robcampbell08105 at gmail.com>
wrote:

> Selinux is definitely turned off and I have no idea what apparmor is but
> it is not installed.
>
> I've tried adding the samba group gid to the directory that is being
> shared but that also did not help.  Still only read only access.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In all things, Be Intentional.
>
>
> On Mon, Mar 7, 2022 at 11:27 AM Rowland Penny via samba <
> samba at lists.samba.org> wrote:
>
>> On Mon, 2022-03-07 at 09:04 -0500, Rob Campbell via samba wrote:
>> > Correct.  Creating local users on each device is not an option.
>> >
>> > But even my internal drives aren't writable as a share.
>>
>> Is Selinux or Apparmor in use ?
>>
>> 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