I have program, ported from linux, and share data between some users in system. Program executed under two different users, who enter one group, and periodical created files in /tmp. In normal case progs may read and write file created another user.
But under FreeBSD files created with directory group, in my case 'wheel' group. I not understand different behaviour FreeBSD and Linux (Ubuntu).
In Linux
In FreeBSD:
Please, explain this or give link for documentation.
But under FreeBSD files created with directory group, in my case 'wheel' group. I not understand different behaviour FreeBSD and Linux (Ubuntu).
In Linux
touch /tmp/testfile:
Code:
-rw-rw-r-- 1 aircrazy aircrazy 0 Apr 4 12:57 testfile
In FreeBSD:
Code:
-rw-rw-r-- 1 aircrazy wheel 0 Apr 4 12:00 testfile
Please, explain this or give link for documentation.