Artificial intelligent assistant

Modify files between different owners/users; Samba I need to share a directory to a group and that every user can modify files created by a different owner. For example a document file that needs to be constantly updated by different users. I already created folder, allowed group to read and write that folder, but if user a creates a file it cannot be modified by user b, although it has read permissions. Users: a, b Group: editorial Directory: editorial If I type `ls -la editorial`, output is: drwxrwxrwx 2 a editorial 4096 apr 3 11:42 editorial note: last "editorial" word in output is highlighted. Can someone please help me to make files writable by any user since the moment they are created? Thanks in advance, cheers. PS: I'm on Ubuntu in case it's useful.

The group of the directory is already editorial so you can use `setgid` so that any files and directories created inside of that directory have the group as editorial which allows anyone in that group to modify files and directories created by anyone else.

From the directory right above:

`chmod g+s editorial`

In all cases, I strongly advise against setting permissions as 777.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 95935e1af243ad875336ee5cbf768ae0