Open Source Development

 View Only

 Samba share used by different accounts lock each of them randomly

Oscar Batista's profile image
Oscar Batista posted Thu September 25, 2025 05:30 PM

Hello All,

                We are experiencing an issue with our samba shares, particularly one, the share has a couple of users (around 6) that need to work and upload files there.

What is happening is that when they try to drop a file, it creates a zero bytes file and then tells them they can't write there. The strange part is that all the users have the same permissions and this happens to one user some times, and then other can write, but then the one that could write cannot anymore and maybe other can do it, its kind of random.

                Below is the definition of the drive, the users are getting to the samba shares using AD, they can mount the drive but get errors when they try to do anything there:

(output from testparm)

[TESTDRIVE]
        comment = gen Data
        create mask = 0774
        force group = gen
        force user = gen_owner
        path = /app/testdrive
        write list = @DOMAIN\gen_group.rw DOMAIN\user1 DOMAIN\user2 DOMAIN\user3