Rocky 8.6 : file explorer application permission behavior

Hello all !

Found a strange behavior of application “files”, Rocky Linux windowed file explorer.
While creating file or folders via a terminal generate permission according to umask value (0002), the same task generate different permissions :
drwxr-xr-x 2 assist assist 6 Oct 11 17:28 g
drwxrwxr-x 2 assist assist 6 Oct 11 17:30 g2

g has been created by file explorer, g2 comes from mkdir command. Same user, same session.
g2 is correct, g is not.

Any idea ? Something i missed ?

Thank you, a nice day to all reader : )

I tested this on Rocky 9, and got the same result.
I noticed that other dirs created by Gnome like Templates have different umask.
This doesn’t look right to me.
I don’t know how you tested creating a file from “files”?

“I don’t know how you tested creating a file from “files”?”

Sorry i don’t understand your question : )

So I understand how you created a ‘directory’ from the nautilus application, e.g. “New Folder”, but I don’t know how you created a ‘file’?